Esempio n. 1
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldAllowFullAccessForProcedures()
        public virtual void ShouldAllowFullAccessForProcedures()
        {
            Config          config     = Config.defaults(procedure_unrestricted, "test.procedure.name");
            ProcedureConfig procConfig = new ProcedureConfig(config);

            assertThat(procConfig.FullAccessFor("xyzabc"), equalTo(false));
            assertThat(procConfig.FullAccessFor("test.procedure.name"), equalTo(true));
        }
Esempio n. 2
0
//JAVA TO C# CONVERTER TODO TASK: Most Java annotations will not have direct .NET equivalent attributes:
//ORIGINAL LINE: @Test public void shouldNotAllowFullAccessDefault()
        public virtual void ShouldNotAllowFullAccessDefault()
        {
            Config          config     = Config.defaults();
            ProcedureConfig procConfig = new ProcedureConfig(config);

            assertThat(procConfig.FullAccessFor("x"), equalTo(false));
        }