Пример #1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Parameterized.Parameters(name = "{index}: {0}") public static java.util.Collection<Object[]> data()
        public static ICollection <object[]> Data()
        {
//JAVA TO C# CONVERTER TODO TASK: Method reference constructor syntax is not converted by Java to C# Converter:
            return(Arrays.asList(new object[][]
            {
                new object[] { "Number", NumberAccessorFactory(), RandomValues.typesOfGroup(ValueGroup.NUMBER), (IndexLayoutFactory)NumberLayoutNonUnique::new, NumberIndexProvider.Capability },
Пример #2
0
        internal static ICollection <object[]> AllCases()
        {
//JAVA TO C# CONVERTER TODO TASK: Method reference constructor syntax is not converted by Java to C# Converter:
            return(Arrays.asList(new object[][]
            {
                new object[] { new TestCase <>("Number", NumberPopulatorFactory(), RandomValues.typesOfGroup(ValueGroup.NUMBER), NumberLayoutNonUnique::new) },