Exemplo n.º 1
0
            public override bool Equals(object o)
            {
                if (this == o)
                {
                    return(true);
                }
                if (o == null || this.GetType() != o.GetType())
                {
                    return(false);
                }
                ThresholdConfigValue that = ( ThresholdConfigValue )o;

                return(Value == that.Value && Objects.Equals(Type, that.Type));
            }
Exemplo n.º 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void parseFalse()
        public virtual void ParseFalse()
        {
            ThresholdConfigValue configValue = parse("false");

            assertEquals(KEEP_LAST_FILE, configValue);
        }
Exemplo n.º 3
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void parseTrue()
        public virtual void ParseTrue()
        {
            ThresholdConfigValue configValue = parse("true");

            assertEquals(NO_PRUNING, configValue);
        }