Example #1
0
        public void setup()
        {
            playlistRepo = new PlaylistRepo();
            playlistRepo.add(new Playlist
            {
                Playlist_ID    = 123,
                Playlist_Title = "test",
                Song_ID        = "asdf1",
                Song_Title     = "Bill Brasky",
                Song_Vote      = 1,
                Party_ID       = 1
            });

            partyRepo = new PartyRepo();
            partyRepo.add(new Party
            {
                Party_ID          = 1,
                Playlist          = 123,
                Party_Title       = "Flying Stringrays",
                Participant_Count = 14,
                Genre_Limitation  = "Rock, Rap",
                Repeat_Contraint  = 30
            }
                          );
        }
Example #2
0
        public void setup()
        {
            playlistRepo = new PlaylistRepo();
            playlistRepo.add(new Playlist
            {
                Playlist_ID = 123,
                Playlist_Title = "test",
                Song_ID = "asdf1",
                Song_Title = "Bill Brasky",
                Song_Vote = 1,
                Party_ID = 1
            });

            partyRepo = new PartyRepo();
            partyRepo.add(new Party
            {
                Party_ID = 1,
                Playlist = 123,
                Party_Title = "Flying Stringrays",
                Participant_Count = 14,
                Genre_Limitation = "Rock, Rap",
                Repeat_Contraint = 30
            }
            );
        }
Example #3
0
 public void setup()
 {
     playlistRepo = new PlaylistRepo();
     playlistRepo.add(new Playlist
     {
         Playlist_ID    = 1,
         Playlist_Title = "Max's Mix",
         Song_ID        = "1",
         Song_Title     = "Do Dat Ting Right Durr",
         Song_Vote      = 1,
         Party_ID       = 1
     }
                      );
 }
Example #4
0
 public void setup()
 {
     playlistRepo = new PlaylistRepo();
     playlistRepo.add(new Playlist
     {
         Playlist_ID = 1,
         Playlist_Title = "Max's Mix",
         Song_ID = "1",
         Song_Title = "Do Dat Ting Right Durr",
         Song_Vote = 1,
         Party_ID = 1
     }
     );
 }
Example #5
0
        public void setup()
        {
            songrepo = new SongRepo();
            songrepo.add(new Song
            {
                Song_ID = 11111,
                HREF = "3240asfsadf92g342",
                Song_Name = "Get on My Level",
                Artist = "Steven",
                Popularity = "High"
            });

            playlistrepo = new PlaylistRepo();
            playlistrepo.add(new Playlist
            {
                Song_ID = "4",
                Playlist_ID = 4,
                Playlist_Title = "mongo",
                Party_ID = 4,
                Song_Vote = 1,
                Song_Title = "Get on My Level"
            });

            partyrepo = new PartyRepo();
            partyrepo.add(new Party
            {
                Party_ID = 4,
                Playlist = 4,
                Party_Title = "TEST",
                Participant_Count = 4,
                Genre_Limitation = "4",
                Repeat_Contraint = 1
            });

            role_permissionrepo = new Role_PermissionRepo();
            role_permissionrepo.add(new Role_Permission
            {
                Role_Permission_Combo_ID = 4,
                Permission1 = true,
                Permission2 = true,
                PermissionN = 4
            });

            personrolerepo = new Person_RoleRepo();
            personrolerepo.add(new Person_Role
            {
                Person_Role_ID = 4,
                Role_Title = "TEST",
                Role_Permission_Combo_ID = 4
            });

            personrepo = new PersonRepo();
            personrepo.add(new Person
            {
                Person_ID = 4,
                Last_Name = "TEST",
                First_Name = "TEST",
                Role_ID = 4,
                User_Name = "TEST",
                Sex = null,
                E_Mail = "TEST@TEST",
                Phone = 1234567891,
                Facebook_Key = null,
                Twitter_Key = null,
                Spotify_Key = null,
                Profile_ID = 4,
                Party_Owner_ID = 4,
                Party_Participant = 4,
                IsActive = true,
                User_Password = "******",
                Security_Question1 = "test",
                Security_Question2 = "testtest",
                Secuirty_Answer1 = "test",
                Security_Answer2 = "testtest"
            });
        }
Example #6
0
        public void setup()
        {
            songrepo = new SongRepo();
            songrepo.add(new Song
            {
                Song_ID    = 11111,
                HREF       = "3240asfsadf92g342",
                Song_Name  = "Get on My Level",
                Artist     = "Steven",
                Popularity = "High"
            });

            playlistrepo = new PlaylistRepo();
            playlistrepo.add(new Playlist
            {
                Playlist_ID    = 4,
                Playlist_Title = "mongo",
                Song_ID        = "4",
                Song_Title     = "Get on My Level",
                Song_Vote      = 1,
                Party_ID       = 4,
            });

            bridgerepo = new BridgeRepo();
            bridgerepo.add(new Bridge_Combo_ID
            {
                Bridge_Combo_ID1 = 123432,
                Song_ID          = 11111,
                Playlist_ID      = 4
            });

            partyrepo = new PartyRepo();
            partyrepo.add(new Party
            {
                Party_ID          = 4,
                Playlist          = 4,
                Party_Title       = "TEST",
                Participant_Count = 4,
                Genre_Limitation  = "4",
                Repeat_Contraint  = 1
            });

            role_permissionrepo = new Role_PermissionRepo();
            role_permissionrepo.add(new Role_Permission
            {
                Role_Permission_Combo_ID = 4,
                Permission1 = true,
                Permission2 = true,
                PermissionN = 4
            });

            personrolerepo = new Person_RoleRepo();
            personrolerepo.add(new Person_Role
            {
                Person_Role_ID           = 4,
                Role_Title               = "TEST",
                Role_Permission_Combo_ID = 4
            });


            personrepo = new PersonRepo();
            personrepo.add(new Person
            {
                Person_ID          = 4,
                Last_Name          = "TEST",
                First_Name         = "TEST",
                Role_ID            = 4,
                User_Name          = "TEST",
                Sex                = null,
                E_Mail             = "TEST@TEST",
                Phone              = 1234567891,
                Facebook_Key       = null,
                Twitter_Key        = null,
                Spotify_Key        = null,
                Profile_ID         = 4,
                Party_Owner_ID     = 4,
                Party_Participant  = 4,
                IsActive           = true,
                User_Password      = "******",
                Security_Question1 = "test",
                Security_Question2 = "testtest",
                Secuirty_Answer1   = "test",
                Security_Answer2   = "testtest"
            });

            profilerepo = new ProfileRepo();
            profilerepo.add(new Profile
            {
                Person_ID       = 4,
                Profile_ID      = 4,
                Profile_Name    = "TEST",
                Profile_Picture = null,
                Bio             = "TEST TEST"
            });
        }