class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
Loop | import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.LinkOption;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.attribute.FileAttribute;
/**
* @author andy
*/
public class Loop {
public static void main(String[] args) throws IOException {
final Path path1 =... | .version 52 0
.class public super Loop
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:53:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:53:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,500 |
Config | /** Created by zhongweishen on 4/9/17. */
public class Config {
private String driverClassName;
private String url;
private String username;
private String password;
public Config(String driverClassName, String url, String username, String password) {
this.driverClassName = driverClassName;
this.url... | .version 52 0
.class public super Config
.super java/lang/Object
.field private driverClassName Ljava/lang/String;
.field private url Ljava/lang/String;
.field private username Ljava/lang/String;
.field private password Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:29:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:29:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,501 |
AwtExample | import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.Frame;
import java.awt.Label;
import java.awt.Panel;
import java.awt.TextField;
public class AwtExample extends Frame {
public AwtExample() {
// Set title and size
this.setTitle("AWT Example");
this.setBounds(100, 100, 200, 80);
/... | .version 52 0
.class public super AwtExample
.super java/awt/Frame
.method public <init> : ()V
.code stack 5 locals 5
L0: aload_0
L1: invokespecial Method java/awt/Frame <init> ()V
L4: aload_0
L5: ldc 'AWT Example'
L7: invokevirtual Method AwtExample setTitle (Ljava/lang/String;)V
L10... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:05:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParame... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:05:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,502 |
Base64 | /**
* Copyright Microsoft Corporation
*
* <p>Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicable law or agreed t... | .version 52 0
.class public final super Base64
.super java/lang/Object
.field private static final BASE_64_CHARS Ljava/lang/String; = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'
.field private static final DECODE_64 [B
.method public static decode : (Ljava/lang/String;)[B
.code stack 4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:43:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:43:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,503 |
SessionConstant | public class SessionConstant {
public static final String USER = "user";
}
| .version 52 0
.class public super SessionConstant
.super java/lang/Object
.field public static final USER Ljava/lang/String; = 'user'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:48:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:48:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,504 |
MyException | /** Author:Young Class Comment: Date: 2016年5月27日上午10:54:05 */
public class MyException extends Exception {}
| .version 52 0
.class public super MyException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:22:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:22:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,505 |
Charsets | /*
*
*
*
*/
import java.nio.charset.Charset;
/**
* 字符集工具类.
*
* @author sxm
* @version 2014-10-21
*/
public abstract class Charsets {
public static final Charset UTF8 = Charset.forName("utf-8");
}
| .version 52 0
.class public super abstract Charsets
.super java/lang/Object
.field public static final UTF8 Ljava/nio/charset/Charset;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertabl... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:55:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:55:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 138,506 |
JaggedObjectArraysStruct | /** */
public class JaggedObjectArraysStruct {
public Object[][] publicObjectArray;
private Object[][] privateObjectArray;
public JaggedObjectArraysStruct(Object[][] publicObjectArray, Object[][] privateObjectArray) {
this.publicObjectArray = publicObjectArray;
this.privateObjectArray = privateObjectArr... | .version 52 0
.class public super JaggedObjectArraysStruct
.super java/lang/Object
.field public publicObjectArray [[Ljava/lang/Object;
.field private privateObjectArray [[Ljava/lang/Object;
.method public <init> : ([[Ljava/lang/Object;[[Ljava/lang/Object;)V
.code stack 2 locals 3
L0: aload_0
L1: i... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:46:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:46:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,507 |
FileSPFilter | /**
* Copyright (C) 2000 - 2013 Silverpeas
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* <p>As a ... | .version 52 0
.class public super FileSPFilter
.super java/lang/Object
.implements java/io/FileFilter
.field private static INSTANCE LFileSPFilter;
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:16:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:16:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,508 |
Main | /**
* This file is part of OSM2GpsMid
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License version 2 as published by the Free Software Foundation.
*
* <p>Copyright (C) 2007 Harald Mueller
*/
public class Main {
/**
* @param args... | .version 52 0
.class public super Main
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:39:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:39:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,509 |
ConvertException | /**
* @author 郭玉昆(<a href="mailto:gyk001@gmail.com">gyk001@gmail.com</a>)
* @version Dec 4, 2013
*/
public class ConvertException extends Exception {
private static final long serialVersionUID = 6573710893522811003L;
public ConvertException() {
super();
}
public ConvertException(String message, Throwab... | .version 52 0
.class public super ConvertException
.super java/lang/Exception
.field private static final serialVersionUID J = 6573710893522811003L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:43:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:43:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,510 |
TestUtil | import java.lang.reflect.Field;
public class TestUtil {
public static void setValue(Object target, String fildName, Object value)
throws NoSuchFieldException, IllegalAccessException {
Field field = target.getClass().getDeclaredField(fildName);
field.setAccessible(true);
field.set(target, value);
... | .version 52 0
.class public super TestUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:28:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:28:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,511 |
RegExp | public class RegExp {
public static final String COMPLEX_PASSWORD =
"(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=])(?=\\S+$).{5,10}";
public static final String DNI_REGEXP = "^[0-9]{8}[A-z]$";
}
| .version 52 0
.class public super RegExp
.super java/lang/Object
.field public static final COMPLEX_PASSWORD Ljava/lang/String; = '(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])(?=.*[@#$%^&+=])(?=\\S+$).{5,10}'
.field public static final DNI_REGEXP Ljava/lang/String; = '^[0-9]{8}[A-z]$'
.method public <init> : ()V
.code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:54:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:54:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,512 |
JIntervalFormatter | import java.util.Locale;
public class JIntervalFormatter {
public static String formatMonth(int month, Locale locale) {
if (month <= 0) {
throw new IllegalArgumentException("month should be positive: " + month);
}
String formatted;
if (locale.getLanguage().equalsIgnoreCase("ru")) {
forma... | .version 52 0
.class public super JIntervalFormatter
.super java/lang/Object
.method public static formatMonth : (ILjava/util/Locale;)Ljava/lang/String;
.code stack 4 locals 3
L0: iload_0
L1: ifgt L31
L4: new java/lang/IllegalArgumentException
L7: dup
L8: new java/lang/StringBuilder
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:36:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.Locale;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
impo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:36:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,513 |
Profile | import java.util.UUID;
// TODO Document.
public class Profile {
// TODO Document.
public UUID id;
// TODO Document.
public String name;
// TODO Document.
public Profile() {}
// TODO Document.
public Profile(UUID id) {
this.id = id;
}
// TODO Document.
public UUID getId() {
return id;
... | .version 52 0
.class public super Profile
.super java/lang/Object
.field public id Ljava/util/UUID;
.field public name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:51:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Random;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:51:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,514 |
HelpdeskInitializationException | import java.util.UUID;
public class HelpdeskInitializationException extends Throwable {
private final UUID helpdesk;
public HelpdeskInitializationException(UUID helpdesk, String message) {
super(message);
this.helpdesk = helpdesk;
}
public UUID getHelpdesk() {
return helpdesk;
}
}
| .version 52 0
.class public super HelpdeskInitializationException
.super java/lang/Throwable
.field private final helpdesk Ljava/util/UUID;
.method public <init> : (Ljava/util/UUID;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: aload_2
L2: invokespecial Method java/lang/Throwable <... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:50:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Random;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:50:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,515 |
IllegalNubmberOfLMException | /** */
/**
* Wird geworfen, um darauf hinzuweisen, das eine ungueltige Anzahl von Lagermitarbeitern eingegeben
* wurde
*
* @author Vennesa Belinic
* @version 2013-09-27
*/
public class IllegalNubmberOfLMException extends IllegalArgumentException {
// Konstruktor(en)
/**
* Default-Konstruktor, ruft den K... | .version 52 0
.class public super IllegalNubmberOfLMException
.super java/lang/IllegalArgumentException
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: ldc 'Ungueltige Anzahl von Lagermitarbeitern!'
L3: invokespecial Method java/lang/IllegalArgumentException <init> (Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:08:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:08:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,516 |
Solution | /* Определяем адрес сети
1) Даны IP-адрес и маска подсети, необходимо вычислить адрес сети - метод getNetAddress.
Используйте операцию поразрядной конъюнкции (логическое И).
Пример:
IP-адрес: 11000000 10101000 00000001 00000010 (192.168.1.2)
Маска подсети: 11111111 11111111 11111110 00000000 (255.255.254.0)
Адре... | .version 52 0
.class super Solution
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:21:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:21:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,517 |
Solution301 | import java.util.ArrayDeque;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Queue;
import java.util.Set;
public class Solution301 {
public List<String> removeInvalidParentheses(String s) {
List<String> output = new ArrayList<>();
Queue<String> enQueue = new Arr... | .version 52 0
.class public super Solution301
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 9
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:53:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:53:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,518 |
HanoiMinPath | import java.util.List;
public class HanoiMinPath {
public int getMinPath(List<List<Integer>> triangle) {
// note that the height of the pile = length of the last row
int[] minPath = new int[triangle.size() + 1];
int row = triangle.size() - 1;
for (int i = row; i >= 0; i--) {
for (int j = 0; j <... | .version 52 0
.class public super HanoiMinPath
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:56:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:56:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,519 |
SyncIdItem | public class SyncIdItem {
private final int mId;
private final String mTitle;
private final boolean mIsGroupSchedule;
/**
* Instantiates a new Sync id item.
*
* @param id the id
* @param title the title
* @param isGroupSchedule the is group schedule
*/
public SyncIdItem(int id, String titl... | .version 52 0
.class public super SyncIdItem
.super java/lang/Object
.field private final mId I
.field private final mTitle Ljava/lang/String;
.field private final mIsGroupSchedule Z
.method public <init> : (ILjava/lang/String;Z)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/la... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:26:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:26:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,520 |
Solution | /**
* Note: This is an extension of House Robber. After robbing those houses on that street, the thief
* has found himself a new place for his thievery so that he will not get too much attention. This
* time, all houses at this place are arranged in a circle. That means the first house is the
* neighbor of the last... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 08:02:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 08:02:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,521 |
Token | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author Giuseppe
*/
public class Token {
public final int tag;
public Token(int t) {
tag = t;
}
public String t... | .version 52 0
.class public super Token
.super java/lang/Object
.field public final tag I
.field public static final not LToken;
.field public static final plus LToken;
.field public static final minus LToken;
.field public static final mult LToken;
.field public static final div LToken;
.field public static f... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:11:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:11:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,522 |
MysqlLayer | /**
* Capa pel mySQL
*
* @autor alex
*/
import java.sql.*;
public class MysqlLayer {
private String dbServer = null;
private String dbUser = null;
private String dbPassword = null;
private String dbDataBase = null;
public Connection dbConn = null;
protected ResultSet result = null;
protected Prepa... | .version 52 0
.class public super MysqlLayer
.super java/lang/Object
.field private dbServer Ljava/lang/String;
.field private dbUser Ljava/lang/String;
.field private dbPassword Ljava/lang/String;
.field private dbDataBase Ljava/lang/String;
.field public dbConn Ljava/sql/Connection;
.field protected result Lj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:06:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.SQLException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:06:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,523 |
ContractException | public class ContractException extends RuntimeException {
public ContractException(String message) {
super(message);
}
public static ContractException permissionError(String msg, Object... args) {
return error("contract permission error", msg, args);
}
public static ContractException compilationErr... | .version 52 0
.class public super ContractException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
.l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:33:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:33:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,524 |
SocketHelper | import java.io.*;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
public class SocketHelper {
// private static Selector selector;
// private static int maxRunning = 10
// private static Hashtable<SelectionKey, Runnable> connectEvents = new
// Hashtable<SelectionKey, ... | .version 52 0
.class public super SocketHelper
.super java/lang/Object
.field private static timeout I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:44:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.InetAddress;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 03:44:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,525 |
C | /*
* Copyright (C) 2014 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public final super C
.super java/lang/Object
.field public static final LENGTH_UNBOUNDED I = -1
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:29:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:29:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 138,526 |
WriteFile | import java.io.BufferedWriter;
import java.io.IOException;
import java.io.UncheckedIOException;
import java.nio.ByteBuffer;
import java.nio.channels.FileChannel;
import java.nio.charset.Charset;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
i... | .version 52 0
.class public super WriteFile
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 15
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:16:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:16:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,527 |
BrotliRuntimeException | /* Copyright 2015 Google Inc. All Rights Reserved.
Distributed under MIT license.
See file LICENSE for detail or copy at https://opensource.org/licenses/MIT
*/
/** Unchecked exception used internally. */
class BrotliRuntimeException extends RuntimeException {
BrotliRuntimeException(String message) {
supe... | .version 52 0
.class super BrotliRuntimeException
.super java/lang/RuntimeException
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumber... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:03:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:03:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,528 |
NumberUtil | import java.text.NumberFormat;
import java.text.ParseException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Random;
public class NumberUtil {
public static Integer[] parseStrigToIntegerArray(String[] source) {
Integer[] returnValue = null;
List<Integer> returnVal... | .version 52 0
.class public super NumberUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:57:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.Ev... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:57:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,529 |
NetworkCode | // Copyright 2017 Google Inc.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | .version 52 0
.class public final super NetworkCode
.super java/lang/Object
.field public static final NO_MESSAGE I = 0
.field public static final GET_USERS_REQUEST I = 1
.field public static final GET_USERS_RESPONSE I = 2
.field public static final GET_ALL_CONVERSATIONS_REQUEST I = 3
.field public static final ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:04:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:04:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,530 |
noah | // This file is automatically generated.
/*
* ZTE Uhura
*
* DEVICE: noah
* MODEL: Z968
*/
final class noah {
public static final String DATA = "ZTE|Uhura|";
}
| .version 52 0
.class final super noah
.super java/lang/Object
.field public static final DATA Ljava/lang/String; = 'ZTE|Uhura|'
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:33:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:33:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,531 |
Statistics | public final class Statistics {
private final long count;
private final double sumX;
private final double sumX2;
private Statistics(long count, double sumX, double sumX2) {
this.count = count;
this.sumX = sumX;
this.sumX2 = sumX2;
}
public static Statistics create() {
return new Statistic... | .version 52 0
.class public final super Statistics
.super java/lang/Object
.field private final count J
.field private final sumX D
.field private final sumX2 D
.method private <init> : (JDD)V
.code stack 3 locals 7
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:47:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:47:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,532 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:16:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:16:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,533 |
DirTest | /** Checks user directory, and returns the path to said directory. */
public class DirTest {
public static void main(String[] args) {
System.out.println(System.getProperty("user.dir"));
}
}
| .version 52 0
.class public super DirTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:39:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:39:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,534 |
DecimalUtils | /**
* 小数操作
*
* @author <a href="mailto:m-java@163.com">mxf </a>
* @since 2016/11/28
*/
public class DecimalUtils {
/**
* 保留小数的位数
*
* @param dec 原始数据
* @param num 保留位数值
* @return
*/
public static String reserveDecimal(double dec, int num) {
String decStr = String.format("%." + num + "f", ... | .version 52 0
.class public super DecimalUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:53:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:53:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,535 |
Solution | import java.util.PriorityQueue;
public class Solution {
public static void main(String[] args) {}
public int[] getLeastNumbers(int[] arr, int k) {
if (arr == null || arr.length < k) {
return arr;
}
PriorityQueue<Integer> q = new PriorityQueue<>();
for (int x : arr) {
q.add(x);
}
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:18:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:18:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,536 |
MatrizArrayBidimencional | import java.util.Scanner;
public class MatrizArrayBidimencional {
public static void main(String[] args) {
int[][] numeros = new int[5][4];
int linhas = 5;
int colunas = 4;
// inicia todos os números com -1
for (int i = 0; i < linhas; i++) {
for (int j = 0; i < colunas; i++) {
num... | .version 52 0
.class public super MatrizArrayBidimencional
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:59:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:59:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,537 |
MedicalHistory | public class MedicalHistory {
String mId;
String mDoctorName;
String mDetails;
String mDate;
String mPhoto;
public MedicalHistory(
String mId, String mDoctorName, String mDetails, String mDate, String mPhoto) {
super();
this.mId = mId;
this.mDoctorName = mDoctorName;
this.mDetails = m... | .version 52 0
.class public super MedicalHistory
.super java/lang/Object
.field mId Ljava/lang/String;
.field mDoctorName Ljava/lang/String;
.field mDetails Ljava/lang/String;
.field mDate Ljava/lang/String;
.field mPhoto Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lan... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:05:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:05:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,538 |
FixedSecureRandom | import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.security.SecureRandom;
public class FixedSecureRandom extends SecureRandom {
private byte[] _data;
private int _index;
private int _intPad;
public FixedSecureRandom(byte[] value) {
this(false, new byte[][] {value});
}
publ... | .version 52 0
.class public super FixedSecureRandom
.super java/security/SecureRandom
.field private _data [B
.field private _index I
.field private _intPad I
.method public <init> : ([B)V
.code stack 6 locals 2
L0: aload_0
L1: iconst_0
L2: iconst_1
L3: anewarray [B
L6: dup
L7: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:33:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:33:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,539 |
Const | /** Created by yxn on 2017/4/25. */
public class Const {
public static final String HOST = "https://www.aqkcw.com/index.php/";
// 新闻类型
public static final String NEW_TYPE = HOST + "cms/listdir";
// 根据新闻类型获取新闻列表数据
public static final String NEW_LIST = HOST + "cms/listnews";
// 新闻列表搜索接口
public static final ... | .version 52 0
.class public super Const
.super java/lang/Object
.field public static final HOST Ljava/lang/String; = 'https://www.aqkcw.com/index.php/'
.field public static final NEW_TYPE Ljava/lang/String; = 'https://www.aqkcw.com/index.php/cms/listdir'
.field public static final NEW_LIST Ljava/lang/String; = 'ht... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:17:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:17:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,540 |
Solution | import java.util.Scanner;
/**
* https://www.hackerrank.com/contests/w30/challenges/candy-replenishing-robot
*
* <p>Warning: This solution fails for one test case. Too lazy to debug. ;)
*
* @author Darpan Dodiya
*/
public class Solution {
public static void main(String[] args) {
Scanner in = new Scanner(Sy... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:22:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:22:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,541 |
Solution | // http://codeforces.com/problemset/problem/454/A
import java.util.Arrays;
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
Scanner read = new Scanner(System.in);
int n = read.nextInt();
char[][] arr = new char[n][n];
// Fill array with '*' initially
... | .version 52 0
.class public super Solution
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:46:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:46:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,542 |
Service00 | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you m... | .version 52 0
.class public super Service00
.super java/lang/Object
.implements java/io/Serializable
.field public i I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field Servi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:43:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:43:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,543 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "com.Aegis.ARSpaceships";
public static final String BUILD_TYPE = "debug";
public static final String FLAVOR = "";
p... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.Aegis.ARSpaceships'
.field public static final BUILD_TYPE Ljava/lang/String; = 'debug'
.field public static final FLAVOR Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:34:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:34:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,544 |
GetShardRole | /*
* Copyright (c) 2017 Cisco Systems, Inc. and others. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
/** Message... | .version 52 0
.class public super GetShardRole
.super java/lang/Object
.field private final name Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aload_1
L6: putfiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:26:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:26:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,545 |
FileAttachment | import java.io.IOException;
public class FileAttachment {
private final String name;
private final byte[] data;
public FileAttachment(String name, byte[] data) throws IOException {
this.name = name;
this.data = data;
}
public byte[] getData() {
return data;
}
public String getName() {
... | .version 52 0
.class public super FileAttachment
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final data [B
.method public <init> : (Ljava/lang/String;[B)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:26:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:26:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,546 |
Constants | /**
* Copyright 2014 Nest Labs Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with the License. You may obtain
* a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable
* law or agre... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final CLIENT_ID Ljava/lang/String; = ''
.field public static final CLIENT_SECRET Ljava/lang/String; = ''
.field public static final REDIRECT_URL Ljava/lang/String; = 'http://localhost/'
.method public <init> : ()V
.code... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:44:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:44:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,547 |
TimedResult | public class TimedResult {
private final Object result;
private final long elapsedTime;
public TimedResult(Object result, long elapsedTime) {
this.result = result;
this.elapsedTime = elapsedTime;
}
public Object getResult() {
return result;
}
public long getElapsedTime() {
return elapse... | .version 52 0
.class public super TimedResult
.super java/lang/Object
.field private final result Ljava/lang/Object;
.field private final elapsedTime J
.method public <init> : (Ljava/lang/Object;J)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: alo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:47:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:47:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,548 |
BicingStationDaoTest | public class BicingStationDaoTest {
/*
* TODO: add test for BicingStationDao.parse, by loading a file
* similarly to org.collprod.bicingbcn.ingestion.tsparser.BicingBCNTimeStampParserTest
* */
}
| .version 52 0
.class public super BicingStationDaoTest
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:01:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:01:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,549 |
CustomizationVO | public class CustomizationVO {
private String customizationId;
private String header;
private String subHeader;
public String getCustomizationId() {
return customizationId;
}
public void setCustomizationId(String customizationId) {
this.customizationId = customizationId;
}
public String getH... | .version 52 0
.class public super CustomizationVO
.super java/lang/Object
.field private customizationId Ljava/lang/String;
.field private header Ljava/lang/String;
.field private subHeader Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:49:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:49:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,550 |
A | // renaming A.m to k
class A {
private void m() {}
}
class B {
void m() {}
}
| .version 52 0
.class super A
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end method
.method pr... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:17:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:17:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,551 |
MessageOutput | import java.io.ByteArrayOutputStream;
import java.io.DataOutput;
import java.io.DataOutputStream;
import java.io.IOException;
import java.io.OutputStream;
/**
* An output for a series of messages which each have sizes specified before the start of the
* message. Even when the decoder does not recognize some of the m... | .version 52 0
.class public super MessageOutput
.super java/lang/Object
.field private final outputStream Ljava/io/OutputStream;
.field private final dataOutputStream Ljava/io/DataOutputStream;
.field private final messageByteOutput Ljava/io/ByteArrayOutputStream;
.field private final messageDataOutput Ljava/io/D... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:30:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.DataOutput;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockPrintStre... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:30:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,552 |
Exposer | /**
* @author TinChiWay
* @date 2018/1/30
*/
public class Exposer {
/** 开启秒杀 */
private boolean exposed;
private String md5;
private long seckillId;
/** 系统当前时间 */
private long now;
private long start;
private long end;
public Exposer(boolean exposed, String md5, long seckillId) {
this.exp... | .version 52 0
.class public super Exposer
.super java/lang/Object
.field private exposed Z
.field private md5 Ljava/lang/String;
.field private seckillId J
.field private now J
.field private start J
.field private end J
.method public <init> : (ZLjava/lang/String;J)V
.code stack 3 locals 5
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:44:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:44:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,553 |
DivisorPattern | /******************************************************************************
* Compilation: javac DivisorPattern.java
* Execution: java DivisorPattern int
*
* Author: Ed Maphis
* Section: 1.3 - Conditionals and loops
* Program: 1.3.4 - DivisorPattern.java
*
* Description: Your first nested loop.
... | .version 52 0
.class public super DivisorPattern
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 22
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:25:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:25:13 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,554 |
adf | /** Created by Shan on 2015-02-08. */
public class adf {
public adf() {
System.out.println("Hello world");
System.out.println("Hello world");
System.out.println("Hello world");
}
}
| .version 52 0
.class public super adf
.super java/lang/Object
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: getstatic Field java/lang/System out Ljava/io/PrintStream;
L7: ldc 'Hello world'
L9: invokevirtual Metho... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:27:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 09:27:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,555 |
HeapSort | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.util.Arrays;
import java.util.Random;
/**
* @author Dante
*/
public class HeapSort {
private static int N = 17;
/... | .version 52 0
.class public super HeapSort
.super java/lang/Object
.field private static N I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:43:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:43:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,556 |
ConnectionUtil | import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
public class ConnectionUtil {
public static String driver = "com.mysql.jdbc.Driver";
public static String url = "jdbc:mysql://localhost/library";
public static String username = "root";
public static String password = "roo... | .version 52 0
.class public super ConnectionUtil
.super java/lang/Object
.field public static driver Ljava/lang/String;
.field public static url Ljava/lang/String;
.field public static username Ljava/lang/String;
.field public static password Ljava/lang/String;
.method public <init> : ()V
.code stack 1 loc... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:24:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.SQLException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:24:11 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,557 |
MissingResourceException | /* Copyright (c) 2008-2014, Avian Contributors
Permission to use, copy, modify, and/or distribute this software
for any purpose with or without fee is hereby granted, provided
that the above copyright notice and this permission notice appear
in all copies.
There is NO WARRANTY for this software. See license.txt for
... | .version 52 0
.class public super MissingResourceException
.super java/lang/RuntimeException
.field private final class_ Ljava/lang/String;
.field private final key Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 10:11:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 10:11:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,558 |
WebServiceException | /*
* This file is part of the ZoRa project: http://www.photozora.org.
*
* ZoRa is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*... | .version 52 0
.class public super WebServiceException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 26
L4 2... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:33:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:33:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,559 |
ParseException | @SuppressWarnings("serial")
public class ParseException extends RuntimeException {
public ParseException(final String message) {
super(message);
}
}
| .version 52 0
.class public super ParseException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
.line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:02:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:02:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,560 |
Text | import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.nio.charset.Charset;
import java.util.HashMap;
public c... | .version 52 0
.class public super Text
.super java/lang/Object
.field private static instreams Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Ljava/io/File;Ljava/io/FileInputStream;>;
.end fieldattributes
.field private static outstreams Ljava/util/HashMap; .fieldattributes
.signature... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:07:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import o... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:07:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,561 |
ArticleCreateEvent | public class ArticleCreateEvent {
private String articleId;
public String getArticleId() {
return articleId;
}
public void setArticleId(String articleId) {
this.articleId = articleId;
}
}
| .version 52 0
.class public super ArticleCreateEvent
.super java/lang/Object
.field private articleId Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:33:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 00:33:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,562 |
MyColor | import java.awt.Color;
import java.util.ArrayList;
public class MyColor {
public static ArrayList<Color> colors = new ArrayList<Color>();
public static void init() {
colors.add(Color.RED);
colors.add(Color.BLUE);
colors.add(Color.YELLOW);
}
public static void reset() {
colors.add(Color.RED);... | .version 52 0
.class public super MyColor
.super java/lang/Object
.field public static colors Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/awt/Color;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:43:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:43:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,563 |
stub | /** Created by alov on 27.02.17. */
public class stub {}
| .version 52 0
.class public super stub
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:01:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:01:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,564 |
RoomPinnedEventsContent | /*
* Copyright 2018 New Vector Ltd
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | .version 52 0
.class public super RoomPinnedEventsContent
.super java/lang/Object
.implements java/io/Serializable
.field public pinned Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 1 locals 1
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:36:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:36:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,565 |
Ejercicio20 | import java.util.Scanner;
/**
* Calcular el factorial de un numero, mediante subprogramas
*
* @author j3llyic3
*/
public class Ejercicio20 {
public static void main(String[] args) {
int var1;
Ejercicio20 prob = new Ejercicio20();
Scanner escaner = new Scanner(System.in);
System.out.println("Intr... | .version 52 0
.class public super Ejercicio20
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:40:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:40:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,566 |
ViaçaoTartaruga | /*
* [ViacaoTartaruga] A viação tartaruga possui um frota de 12 veículos.
Cada veículo tem uma capacidade única de passageiros, um estado de origem
(RJ, SP, MG, etc.) e um de destino. Quando cada veículo for criado, deveremos
iniciar essas variáveis somente pelo construtor da classe Veículo. A classe
veículo deve impl... | .version 52 0
.class public super 'ViaçaoTartaruga'
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 47
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:18:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:18:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,567 |
ComplexNumber | /*
Snyder Projection Implementation
Copyright (c) 2012-2015, APIS Point, LLC
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, c... | .version 52 0
.class public super ComplexNumber
.super java/lang/Object
.implements java/lang/Cloneable
.field private re D
.field private im D
.method public <init> : ()V
.code stack 5 locals 1
L0: aload_0
L1: dconst_0
L2: dconst_0
L3: invokespecial Method ComplexNumber <init> (DD)V
L6... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:25:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:25:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,568 |
ThriftConnectionException | /*-
* #%L
* kylo-thrift-proxy-core
* %%
* Copyright (C) 2017 - 2018 ThinkBig Analytics, a Teradata Company
* %%
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apac... | .version 52 0
.class public super ThriftConnectionException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 26
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:34:21 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:34:21 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,569 |
GetResourceConfigResult | public class GetResourceConfigResult {
public java.lang.String value;
public void setValue(java.lang.String value) {
this.value = value;
}
public java.lang.String getValue() {
return this.value;
}
public java.util.List effectiveConfigs;
public void setEffectiveConfigs(java.util.List effectiveC... | .version 52 0
.class public super GetResourceConfigResult
.super java/lang/Object
.field public value Ljava/lang/String;
.field public effectiveConfigs Ljava/util/List;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:47:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:47:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,570 |
CampaignUtil | import java.util.Date;
public class CampaignUtil {
public static boolean isCampaignStopped(String status, Date endDate) {
return status.contains("STOPPED") || isCampaignExpired(endDate);
}
public static String campaignStatusMessage(String status, Date endDate) {
if (status.contains("STOPPED")) {
... | .version 52 0
.class public super CampaignUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:18:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:18:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,571 |
UserInfo | public class UserInfo {
private boolean isGetSucc;
private boolean isRegister;
private String currentService;
private String expiryDate;
private String liveChannel; // luu cac kenh duoc phat hoac message loi
private String session;
private String message;
public UserInfo() {
this.isGetSucc = false;... | .version 52 0
.class public super UserInfo
.super java/lang/Object
.field private isGetSucc Z
.field private isRegister Z
.field private currentService Ljava/lang/String;
.field private expiryDate Ljava/lang/String;
.field private liveChannel Ljava/lang/String;
.field private session Ljava/lang/String;
.field ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:26:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:26:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,572 |
RResult | /**
* @author Serena
* @time 2016/7/16 19:49
* @desc ${TODD}
*/
public class RResult {
/**
* result :
* {"id":"用户id","waitPayCount":"待付款数","userLevel":"用户等级(1注册会员2铜牌会员3银牌会员4金牌会员5钻石会员)","userIcon":"头像路径","waitReceiveCount":"待收货数","userName":"用户名"}
* errorMsg : success : true
*/
private String result;... | .version 52 0
.class public super RResult
.super java/lang/Object
.field private result Ljava/lang/String;
.field private errorMsg Ljava/lang/String;
.field private success Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:57:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:57:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,573 |
Message | public abstract class Message {
public static final String UPDATE = "update";
public static final String WORLD_UPDATE = "worldupdate";
private String type;
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
| .version 52 0
.class public super abstract Message
.super java/lang/Object
.field public static final UPDATE Ljava/lang/String; = 'update'
.field public static final WORLD_UPDATE Ljava/lang/String; = 'worldupdate'
.field private type Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0:... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:36:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 22:36:06 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 138,574 |
FontStyle | /*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
/**
* @author mg
*/
public class FontStyle {
public static int getNORMAL() {
return NORMAL;
}
public static int getBOLD() {
return BOLD;
}
public static int getITALIC() {
return ITALIC;
}
... | .version 52 0
.class public super FontStyle
.super java/lang/Object
.field public static final NORMAL I = 0
.field public static final BOLD I = 1
.field public static final ITALIC I = 2
.field public static final BOLD_ITALIC I = 3
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:13:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:13:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,575 |
HelloWorld | /* HelloWorld.java
*/
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello World!");
}
}
| .version 52 0
.class public super HelloWorld
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:41:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 13:41:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,576 |
BiChildUnTypedPrivate | /* This file is part of the db4o object database http://www.db4o.com
Copyright (C) 2004 - 2011 Versant Corporation http://www.versant.com
db4o is free software; you can redistribute it and/or modify it under
the terms of version 3 of the GNU General Public License as published
by the Free Software Foundation.
db4o ... | .version 52 0
.class public super BiChildUnTypedPrivate
.super java/lang/Object
.field private parent Ljava/lang/Object;
.field private name Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:18:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:18:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,577 |
MailKey | /** Created by jorge.castro on 16/06/2016. */
public class MailKey {
public static final String EMAIL = "usuario@gmail.com";
public static final String PASSWORD = "password";
}
| .version 52 0
.class public super MailKey
.super java/lang/Object
.field public static final EMAIL Ljava/lang/String; = 'usuario@gmail.com'
.field public static final PASSWORD Ljava/lang/String; = 'password'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method jav... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:25:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:25:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,578 |
Speed | public class Speed {
private long bytesPerSeconds;
Speed(final long bytesPerSeconds) {
this.bytesPerSeconds = bytesPerSeconds;
}
public long getBytesPerSeconds() {
return bytesPerSeconds;
}
void setBytesPerSeconds(final long bytesPerSeconds) {
this.bytesPerSeconds = bytesPerSeconds;
}
}
| .version 52 0
.class public super Speed
.super java/lang/Object
.field private bytesPerSeconds J
.method <init> : (J)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lload_1
L6: putfield Field Speed bytesPerSeconds J
L9: re... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:58:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:58:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,579 |
PConnsControl | /*
* Copyright (c) 2004-2020 The YAWL Foundation. All rights reserved.
* The YAWL Foundation is a collaboration of individuals and
* organisations who are committed to improving workflow technology.
*
* This file is part of YAWL. YAWL is free software: you can
* redistribute it and/or modify it under the terms of... | .version 52 0
.class public super PConnsControl
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:04:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:04:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,580 |
EntityGroupException | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super EntityGroupException
.super java/io/IOException
.field private static final serialVersionUID J = 1473510258071111371L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/io/IOException <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:22:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:22:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,581 |
GeneGroup | /*
* The miRNA Design Tool is based on the UPL (Universal Probe Library) probes to design primer(s) for microRNA detection. The usergets the best result by two different Tm calculating methods. The tool designs the miRNA specific sequence of the stem-loop RT primer as well.
*
* copyright (C) 2009-2012 Astrid Resear... | .version 52 0
.class public super GeneGroup
.super java/lang/Object
.field private groupName Ljava/lang/String;
.field private groupDepth I
.field private groupID Ljava/lang/String;
.field private levelGroup Ljava/lang/String;
.field private size I
.field private geneGroupColl Ljava/util/Collection; .fieldattri... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:44:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Collection;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:44:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,582 |
Cifrador | /*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
import java.math.BigInteger;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
/**
* @author camm
... | .version 52 0
.class public super Cifrador
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:11:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:11:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,583 |
SystemException | /*
* The MIT License
*
* Copyright 2014 exsio.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, m... | .version 52 0
.class public super SystemException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:19:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:19:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,584 |
IsScorePossible | public class IsScorePossible {
/*
From a given integer array values, find if a Total value is possible or not?
The numbers in the array can be used more than once.
example
int[] points = {3, 7};
isScorePossible(points, 10) => true
isScorePossible(points, 9) => true
*/
public static bool... | .version 52 0
.class public super IsScorePossible
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:37:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:37:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,585 |
CameraController | /**
* @Author:HSJ @E-mail:shengjunhu@foxmail.com @Date:2017/9/13
* 16:24 @Class:CameraController @Description:Camera控制器
*/
public class CameraController {}
| .version 52 0
.class public super CameraController
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:55:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:55:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,586 |
Strings | public class Strings {}
| .version 52 0
.class public super Strings
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:13:33 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:13:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,587 |
TpoAnestesia | import java.io.Serializable;
public class TpoAnestesia implements Serializable {
// Declaro las variables de la clase
private static final long serialVersionUID = 1L;
private int idTpoAnestesia;
private String descTpoAnestesia;
// Declaro los constructores
public TpoAnestesia() {}
public TpoAnestesi... | .version 52 0
.class public super TpoAnestesia
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private idTpoAnestesia I
.field private descTpoAnestesia Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:30:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:30:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,588 |
DoString | import java.text.SimpleDateFormat;
import java.util.Date;
public class DoString {
public static String HTMLChange(String source) {
String changeStr = "";
changeStr = source.replaceAll("&", "&");
changeStr = changeStr.replaceAll(" ", " ");
changeStr = changeStr.replaceAll("<", "<");
ch... | .version 52 0
.class public super DoString
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:13:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:13:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,589 |
MinimalItem | public class MinimalItem {
private Long id_item;
private String nombre;
private String tipo;
public Long getId_item() {
return id_item;
}
public void setId_item(Long id_item) {
this.id_item = id_item;
}
public String getNombre() {
return nombre;
}
public void setNombre(String nomb... | .version 52 0
.class public super MinimalItem
.super java/lang/Object
.field private id_item Ljava/lang/Long;
.field private nombre Ljava/lang/String;
.field private tipo Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:14:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:14:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,590 |
HttpUrl | /** Created by Administrator on 2016/9/20. */
public class HttpUrl {
public static final String GameUrl =
"http://api.m.panda.tv/index.php?method=category.list&type=game&__version=1.2.0.1441&__plat=android";
// 娱乐界面网址
public static final String PANADA_URL = "http://api.m.panda.tv/ajax_get_live_list_by_cat... | .version 52 0
.class public super HttpUrl
.super java/lang/Object
.field public static final GameUrl Ljava/lang/String; = 'http://api.m.panda.tv/index.php?method=category.list&type=game&__version=1.2.0.1441&__plat=android'
.field public static final PANADA_URL Ljava/lang/String; = 'http://api.m.panda.tv/ajax_get_li... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:21:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:21:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,591 |
RiotApiException | /**
* @author Jasper
*/
public class RiotApiException extends Exception {
private static final long serialVersionUID = 2658256159686373725L;
public static final int BAD_REQUEST = 400;
public static final int FORBIDDEN = 403;
public static final int DATA_NOT_FOUND = 404;
public static final int UNAUTHORIZED... | .version 52 0
.class public super RiotApiException
.super java/lang/Exception
.field private static final serialVersionUID J = 2658256159686373725L
.field public static final BAD_REQUEST I = 400
.field public static final FORBIDDEN I = 403
.field public static final DATA_NOT_FOUND I = 404
.field public static fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:16:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:16:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,592 |
MavenProjectChanges | /*
* Copyright 2000-2009 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agre... | .version 52 0
.class public super MavenProjectChanges
.super java/lang/Object
.field public static final NONE LMavenProjectChanges;
.field public static final ALL LMavenProjectChanges;
.field public static final DEPENDENCIES LMavenProjectChanges;
.field public packaging Z
.field public output Z
.field public so... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:38:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:38:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,593 |
Exercicio10 | import java.util.Scanner;
public class Exercicio10 {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
System.out.println("Digite a temperatura em graus Celcius: ");
double celcius = scan.nextDouble();
double faren = ((celcius / 5) * 9 + 32);
System.out.println("A ... | .version 52 0
.class public super Exercicio10
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:21:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.util.SystemInUtil;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:21:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,594 |
AbstractCheckboxWidget | public abstract class AbstractCheckboxWidget {}
| .version 52 0
.class public super abstract AbstractCheckboxWidget
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:46:17 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:46:17 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 138,595 |
Issue1438 | /*
* @test
* @summary Test case for issue #1438: https://github.com/typetools/checker-framework/issues/1438
*
* @compile/fail/timeout=60 -XDrawDiagnostics -Xlint:unchecked -processor org.checkerframework.checker.nullness.NullnessChecker -AprintErrorStack -Alint Issue1438.java
*/
import java.util.HashMap;
import j... | .version 52 0
.class public super Issue1438
.super java/lang/Object
.field static v0 Ljava/lang/Integer;
.field static v1 Ljava/lang/Integer;
.field static v2 Ljava/lang/Integer;
.field static v3 Ljava/lang/Integer;
.field static v4 Ljava/lang/Integer;
.field static v5 Ljava/lang/Integer;
.field static v6 Ljav... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:25:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:25:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,596 |
Check | import java.io.File;
import java.util.logging.Logger;
public class Check {
private static final Logger LOG = Logger.getLogger("CRF_TEST");
public static boolean checkFileExit(String path) {
if (new File(path).exists()) {
return true;
} else {
LOG.warning("check " + path + " not in !");
r... | .version 52 0
.class public super Check
.super java/lang/Object
.field private static final LOG Ljava/util/logging/Logger;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:18:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:18:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,597 |
RefEll | /**
* Class to represent a reference ellipsoid. Also provides a number of pre-determined reference
* ellipsoids as constants.
*
* <p>(c) 2006 Jonathan Stott
*
* <p>Created on 11-Feb-2006
*
* @author Jonathan Stott
* @version 1.0
* @since 1.0
*/
public class RefEll {
/** Airy 1830 Reference Ellipsoid */
... | .version 52 0
.class public super RefEll
.super java/lang/Object
.field public static final AIRY_1830 LRefEll;
.field public static final WGS84 LRefEll;
.field private maj D
.field private min D
.field private ecc D
.method public <init> : (DD)V
.code stack 7 locals 5
L0: aload_0
L1: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:18:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:18:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,598 |
Range | /**
* Author : Galo Paz Date : 11/12/2014 Name : Range.java Purpose : Provide a simple one-dimensional
* way to express a range of values. It also provides the ability to express not only equality and
* inequality between two ranges, but also the ability to check whether a value is within the range
* or how a range... | .version 52 0
.class public final super Range
.super java/lang/Object
.field public static final IN_RANGE I = 0
.field public static final OUTOF_RANGE_BELOW I = 1
.field public static final OUTOF_RANGE_ABOVE I = 2
.field public static final PARTIALLY_OUTOF_RANGE_BELOW I = 3
.field public static final PARTIALLY_O... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:59:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:59:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 138,599 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.