Ejemplo n.º 1
0
 public void setup()
 {
     songRepo = new SongRepo();
     songRepo.add(new Song
     {
         Song_ID    = 1,
         HREF       = "asdf334",
         Song_Name  = "Pop Lock and drop it",
         Artist     = "Kissha",
         Popularity = "High"
     }
                  );
 }
Ejemplo n.º 2
0
 public void setup()
 {
     songRepo = new SongRepo();
     songRepo.add(new Song
     {
         Song_ID = 1,
         HREF = "asdf334",
         Song_Name = "Pop Lock and drop it",
         Artist = "Kissha",
         Popularity = "High"
     }
     );
 }
Ejemplo n.º 3
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"
            });
        }
Ejemplo n.º 4
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"
            });
        }