- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 35 for Webargs (0.23 sec)
-
src/test/java/org/codelibs/core/exception/SRuntimeExceptionTest.java
final ClRuntimeException ex = new ClRuntimeException("ECL0001", asArray("hoge")); assertThat(ex.getMessageCode(), is("ECL0001")); assertThat(ex.getArgs().length, is(1)); assertThat(ex.getArgs()[0], is((Object) "hoge")); System.out.println(ex.getMessage()); } /** * @throws Exception */ @Test public void testGetCause() throws Exception {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
internal/config/policy/opa/config.go
defer a.CloseRespFn(resp.Body) return nil } // UnmarshalJSON - decodes JSON data. func (a *Args) UnmarshalJSON(data []byte) error { // subtype to avoid recursive call to UnmarshalJSON() type subArgs Args var so subArgs if err := json.Unmarshal(data, &so); err != nil { return err } oa := Args(so) if oa.URL == nil || oa.URL.String() == "" { *a = oa return nil } *a = oa
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 10 20:16:44 UTC 2024 - 5.3K bytes - Viewed (0) -
internal/config/policy/plugin/config.go
defer a.CloseRespFn(resp.Body) return nil } // UnmarshalJSON - decodes JSON data. func (a *Args) UnmarshalJSON(data []byte) error { // subtype to avoid recursive call to UnmarshalJSON() type subArgs Args var so subArgs if err := json.Unmarshal(data, &so); err != nil { return err } oa := Args(so) if oa.URL == nil || oa.URL.String() == "" { *a = oa return nil } *a = oa
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 5.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/ServeDocs.java
builder.getMainModule().set("jdk.httpserver"); builder.setStandardOutput(System.out); builder.setErrorOutput(System.err); builder.setArgs(Arrays.asList("-p", getPort().get(), "-d", getDocsDirectory().get().getAsFile().getAbsolutePath())); registry.start(getPath(), DeploymentRegistry.ChangeBehavior.RESTART, JavaApplicationHandle.class, builder); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Thu Apr 18 12:38:47 UTC 2024 - 2.9K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClRuntimeException.java
*/ public String getMessageCode() { return messageCode; } /** * Returns arguments of a message * * @return array of arguments */ public Object[] getArgs() { return args; } @Override public String getMessage() { return message; } /** * Returns a simple message without a message code. *
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.9K bytes - Viewed (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/CliRequest.java
CliRequest(String[] args, ClassWorld classWorld) { this.args = args; this.classWorld = classWorld; this.request = new DefaultMavenExecutionRequest(); } public String[] getArgs() { return args; } public CommandLine getCommandLine() { return commandLine; } public ClassWorld getClassWorld() { return classWorld; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.8K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
Namespace: "default", })), c) }) } } func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) { t.Helper() var out bytes.Buffer cmd.SetArgs(c.args) cmd.SilenceUsage = true cmd.SetOut(&out) cmd.SetErr(&out) fErr := cmd.Execute() output := out.String() if c.expectedOutput != "" && c.expectedOutput != output {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/cmd/root_test.go
} _ = parent.PersistentFlags().String(childFlag2, "", childFlag2) parent.AddCommand(child) // verify both parent flags and the child flag are visible by default parent.SetArgs([]string{"child", "--help"}) if err := parent.Execute(); err != nil { t.Fatal(err) } got := out.String() out.Reset() checkHelpForFlag(t, got, parentFlag0, true) checkHelpForFlag(t, got, parentFlag1, true)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 15 17:59:55 UTC 2021 - 2.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/ClIllegalArgumentException.java
* * @return メッセージコード */ public String getMessageCode() { return messageCode; } /** * 引数の配列を返します。 * * @return 引数の配列 */ public Object[] getArgs() { return args; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.7K bytes - Viewed (0) -
istioctl/pkg/util/testutil/util.go
GoldenFilename string // Expected output stored in golden file WantException bool } func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) { t.Helper() cmd.SetArgs(c.Args) var out bytes.Buffer cmd.SetOut(&out) cmd.SetErr(&out) cmd.SilenceUsage = true fErr := cmd.Execute() output := out.String() if c.ExpectedOutput != "" && c.ExpectedOutput != output {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2K bytes - Viewed (0)