Example #1
0
 public override object[] CreateData()
 {
     Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase[] arr = new
                                                                                   Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase[5];
     arr[0] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
                  ();
     string[][][] content = new string[][][] { new string[][] { new string[2] } };
     arr[1] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
                  (content);
     content = new string[][][] { new string[][] { new string[3], new string[3] } };
     arr[2]  = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
                   (content);
     content          = new string[][][] { new string[][] { new string[3], new string[3] } };
     content[0][0][1] = "foo";
     content[0][1][0] = "bar";
     content[0][1][2] = "fly";
     arr[3]           = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
                            (content);
     content          = new string[][][] { new string[][] { new string[3], new string[3] } };
     content[0][0][0] = "bar";
     content[0][1][0] = "wohay";
     content[0][1][1] = "johy";
     arr[4]           = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
                            (content);
     object[] ret = new object[arr.Length];
     System.Array.Copy(arr, 0, ret, 0, arr.Length);
     return(ret);
 }
Example #2
0
		public override object[] CreateData()
		{
			Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase[] arr = new 
				Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase[5];
			arr[0] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
				();
			string[][][] content = new string[][][] { new string[][] { new string[2] } };
			arr[1] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
				(content);
			content = new string[][][] { new string[][] { new string[3], new string[3] } };
			arr[2] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
				(content);
			content = new string[][][] { new string[][] { new string[3], new string[3] } };
			content[0][0][1] = "foo";
			content[0][1][0] = "bar";
			content[0][1][2] = "fly";
			arr[3] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
				(content);
			content = new string[][][] { new string[][] { new string[3], new string[3] } };
			content[0][0][0] = "bar";
			content[0][1][0] = "wohay";
			content[0][1][1] = "johy";
			arr[4] = new Db4objects.Db4o.Tests.Common.Soda.Arrays.Object.STArrStringONTestCase
				(content);
			object[] ret = new object[arr.Length];
			System.Array.Copy(arr, 0, ret, 0, arr.Length);
			return ret;
		}