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 |
|---|---|---|---|---|---|
ApiCode | public class ApiCode {
// ----------------------------通用错误-------------------------
public static final String SUCCESS = "A00000"; // 成功
public static final String ERR_WRONG_PARAMS = "A00001"; // 参数错误
public static final String ERR_SYSTEM = "A00002"; // 系统错误
public static final String UPLOAD_ERR = "A00005"; ... | .version 52 0
.class public super ApiCode
.super java/lang/Object
.field public static final SUCCESS Ljava/lang/String; = 'A00000'
.field public static final ERR_WRONG_PARAMS Ljava/lang/String; = 'A00001'
.field public static final ERR_SYSTEM Ljava/lang/String; = 'A00002'
.field public static final UPLOAD_ERR Lja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:02: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 00:02: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;
... | 143,700 |
ClipboardTool | import java.awt.Image;
import java.awt.Toolkit;
import java.awt.datatransfer.Clipboard;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.StringSelection;
import java.awt.datatransfer.Transferable;
import java.awt.datatransfer.UnsupportedFlavorException;
import java.io.IOException;
public class Cli... | .version 52 0
.class public super ClipboardTool
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:15:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import java.awt.Image;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:15: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;
... | 143,701 |
UriCodec | /*
* Copyright (C) 2015 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 super abstract UriCodec
.super java/lang/Object
.field private static final INVALID_INPUT_CHARACTER C = 65533
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbert... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:02:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.URISyntaxException;
import java.nio.charset.Charset;
import org.evosuite.runtime.EvoRunner;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 11:02: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;
... | 143,702 |
DbUtil | import java.sql.Connection;
import java.sql.DriverManager;
/**
* 数据库工具类
*
* @author
*/
public class DbUtil {
/**
* 获取数据库连接
*
* @return
* @throws Exception
*/
public Connection getCon() throws Exception {
Class.forName("com.mysql.jdbc.Driver");
Connection con =
DriverManager.getC... | .version 52 0
.class public super DbUtil
.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
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:28:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.sql.Connection;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:28: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;
... | 143,703 |
Mem | /*
* Copyright (c) 1998-2002 Carnegie Mellon University. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* noti... | .version 52 0
.class public super abstract Mem
.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 33
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:13: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 07:13: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;
... | 143,704 |
BSBM | import java.util.*;
public class BSBM {
// The Namespace of this vocabulary as String
public static final String NS = "http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/";
public static final String PREFIX = "bsbm:";
private static HashMap<String, String> uriMap = new HashMap<String, String>();
/*... | .version 52 0
.class public super BSBM
.super java/lang/Object
.field public static final NS Ljava/lang/String; = 'http://www4.wiwiss.fu-berlin.de/bizer/bsbm/v01/vocabulary/'
.field public static final PREFIX Ljava/lang/String; = 'bsbm:'
.field private static uriMap Ljava/util/HashMap; .fieldattributes
.signa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:24: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:24: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;
... | 143,705 |
Motherboard | /**
* Eclipse Public License - v 1.0
*
* <p>THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE
* ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S
* ACCEPTANCE OF THIS AGREEMENT.
*
* <p>1. DEFINITIONS
*
* <p>"Contribution" means:
*
* ... | .version 52 0
.class public super Motherboard
.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 135
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:35:47 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 06:35:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,706 |
Ad | import java.io.Serializable;
import java.math.BigDecimal;
/**
* @author Sławomir Borowiec Module name : personalBlogCore Creating time : 12-04-2013 00:38:30
*/
public class Ad implements Serializable {
/** */
private static final long serialVersionUID = 2282361258807787890L;
private String name;
private Str... | .version 52 0
.class public super Ad
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 2282361258807787890L
.field private name Ljava/lang/String;
.field private content Ljava/lang/String;
.field private price Ljava/math/BigDecimal;
.field private minTime ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:28:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.math.MathContext;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParam... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:28: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;
... | 143,707 |
inputString | import java.io.*;
public class inputString {
public String dataString;
int stringIndex;
inputString() {
dataString = "";
stringIndex = 0;
}
private boolean validInput(char c, String inputStr) {
if (inputStr.indexOf(c) != -1) {
return true;
} else if ((int) c == 13) {
return tru... | .version 52 0
.class public super inputString
.super java/lang/Object
.field public dataString Ljava/lang/String;
.field stringIndex I
.method <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ldc ''
L7: putfield Fiel... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:09:15 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.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:09: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;
... | 143,708 |
PreDatas | import java.util.HashMap;
import java.util.List;
import java.util.Map;
public final class PreDatas {
public Map<String, Integer> intValues;
public Map<String, Double> doubleValues;
public Map<String, String> stringValues;
public Map<String, Integer> idValues;
public Map<String, List<Integer>> intLists;
pu... | .version 52 0
.class public final super PreDatas
.super java/lang/Object
.field public intValues Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Integer;>;
.end fieldattributes
.field public doubleValues Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Lj... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:11:35 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:11:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,709 |
ReturnCond | public class ReturnCond {
public static void main(String[] args) {
ReturnCond rc = new ReturnCond();
boolean b = rc.run();
System.out.println(b);
}
public boolean run() {
int x = 0;
int y = 8;
return x > y;
}
}
| .version 52 0
.class public super ReturnCond
.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 1
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:29:02 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:29: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;
... | 143,710 |
DateManager | import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Date;
public class DateManager {
private static final String dateFormat = "yyyy-MM-dd HH:mm:ss";
private int month;
private int day;
private int year;
private int hours;
private int minutes;
pr... | .version 52 0
.class public super DateManager
.super java/lang/Object
.field private static final dateFormat Ljava/lang/String; = 'yyyy-MM-dd HH:mm:ss'
.field private month I
.field private day I
.field private year I
.field private hours I
.field private minutes I
.field private secondes I
.method public <i... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:16: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
* Mon Jul 04 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;
... | 143,711 |
EagerSingletonClass | /** Created by wang_gkun on 2017/7/25. */
public class EagerSingletonClass {
private static final EagerSingletonClass eagerSingletonClass = new EagerSingletonClass();
private EagerSingletonClass() {}
public static EagerSingletonClass getInstance() {
return eagerSingletonClass;
}
}
| .version 52 0
.class public super EagerSingletonClass
.super java/lang/Object
.field private static final eagerSingletonClass LEagerSingletonClass;
.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
* Sat Jul 02 03:58: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 03:58: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;
... | 143,712 |
ClientFailureException | /*******************************************************************************
* Copyright (c) 2015 IBM Corporation 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 a... | .version 52 0
.class public super ClientFailureException
.super java/lang/Exception
.field private static final serialVersionUID J = 1049134339676366647L
.field private final assetId Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:55:34 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 06:55: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;
... | 143,713 |
MySelector | /*
* $Id: MySelector.java,v 1.2 2005/02/15 18:31:09 oz Exp $
*
* This software is provided by NOAA for full, free and open release. It is
* understood by the recipient/user that NOAA assumes no liability for any
* errors contained in the code. Although this software is released without
* conditions or restricti... | .version 52 0
.class public super MySelector
.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 24
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:01: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 01:01: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;
... | 143,714 |
Tick | import java.util.concurrent.atomic.AtomicInteger;
/**
* @author Taylor
* @version 1.0
*/
public abstract class Tick {
/** Represents if this {@link Tick} needs to be destroyed in the next game cycle. */
private volatile boolean destroyLater = false;
/** Represents if this {@link Tick} needs to be destroyed ... | .version 52 0
.class public super abstract Tick
.super java/lang/Object
.field private volatile destroyLater Z
.field private volatile destroyNow Z
.field private volatile paused Z
.field private volatile skip Ljava/util/concurrent/atomic/AtomicInteger;
.method public <init> : ()V
.code stack 4 locals 1
L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:31:22 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:31:22 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... | 143,715 |
JVMException | /*
* Copyright 2014 Luc Willems (T.M.M.)
*
* 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 agr... | .version 52 0
.class public super JVMException
.super java/lang/RuntimeException
.method public <init> : (Ljava/lang/Throwable;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/Throwable;)V
L5: return
L6:
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:35: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 04:35: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;
... | 143,716 |
UtilTools | import java.io.*;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
/** Created by kyxw007 on 15/5/1. */
public class UtilTools {
public static void main(String[] args) throws IOException {
SimpleDateFormat sdf = new SimpleDateFormat("MMMM d HH:mm", Locale.ENGLISH);
String a ... | .version 52 0
.class public super UtilTools
.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
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:52:04 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.CharArrayWriter;
import java.io.Closeable;
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
* Fri Jul 01 09:52:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,717 |
ValidateTargetConstraints | /*
* Copyright 2001 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | .version 52 0
.class public final super ValidateTargetConstraints
.super java/lang/Object
.field private static path Ljava/security/cert/CertPath;
.field private static params Ljava/security/cert/PKIXParameters;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:02:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import java.security.InvalidAlgo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:02:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,718 |
Item | public class Item {
private String email;
private String title;
private String content;
private String date;
public Item() {}
public Item(String email, String title, String content, String date) {
this.email = email;
this.title = title;
this.content = content;
this.date = date;
}
pub... | .version 52 0
.class public super Item
.super java/lang/Object
.field private email Ljava/lang/String;
.field private title Ljava/lang/String;
.field private content Ljava/lang/String;
.field private date Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:46:41 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:46: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;
... | 143,719 |
Credentials | /**
* 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 Credentials
.super java/util/HashMap
.method public static join : (LCredentials;LCredentials;)LCredentials;
.code stack 2 locals 3
L0: new Credentials
L3: dup
L4: invokespecial Method Credentials <init> ()V
L7: astore_2
L8: aload_2
L9: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:05:00 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 06:05: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;
... | 143,720 |
UF | /* This is put in trials as it is problematic.
*
* problematic: If we have N union commands on N Objects,
* then it takes n^2 array access to process the unions.
*
* btw, this type of approach to solving a problem is called
* 'eager approach.'
*/
public class UF {
int n;
int[] id;
public UF(int n) {
... | .version 52 0
.class public super UF
.super java/lang/Object
.field n I
.field id [I
.method public <init> : (I)V
.code stack 3 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: newarray int
L8: putfield Field UF id [I
L11: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:44:56 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 17:44: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;
... | 143,721 |
CsvLine | /*
Copyright (c) 2014 European Spallation Source
This file is part of LinacLego.
LinacLego 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 any newer version.
This program is di... | .version 52 0
.class public super CsvLine
.super java/lang/Object
.implements java/io/Serializable
.field private cellList Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:29:58 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 01:29: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;
... | 143,722 |
ClientVideo | import java.io.Serializable;
public class ClientVideo implements Serializable {
/** 下午2:40:31 TODO */
private static final long serialVersionUID = 1L;
private Integer id;
private String videoName;
private String videoUrl;
private String videoImage;
private String videoDescripe;
public Integer get... | .version 52 0
.class public super ClientVideo
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = 1L
.field private id Ljava/lang/Integer;
.field private videoName Ljava/lang/String;
.field private videoUrl Ljava/lang/String;
.field private videoImage Ljava/... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:54: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 12:54: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;
... | 143,723 |
TickableWrapper | /**
* @author netherfoam
*/
public class TickableWrapper implements Comparable<TickableWrapper> {
private Runnable tick;
private int period;
private Exception trace;
public TickableWrapper(int period, Runnable tick) {
if (tick == null) {
throw new NullPointerException("Tick may not be null");
}... | .version 52 0
.class public super TickableWrapper
.super java/lang/Object
.implements java/lang/Comparable
.field private tick Ljava/lang/Runnable;
.field private period I
.field private trace Ljava/lang/Exception;
.method public <init> : (ILjava/lang/Runnable;)V
.code stack 3 locals 3
L0: aload_0
L1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:01:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.r... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:01: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;
... | 143,724 |
SquadPlayer | public class SquadPlayer {
public Integer nr;
public int index;
public String name;
}
| .version 52 0
.class public super SquadPlayer
.super java/lang/Object
.field public nr Ljava/lang/Integer;
.field public index I
.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... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:46: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
* Mon Jul 04 02:46: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;
... | 143,725 |
GFG | import java.io.*;
import java.util.*;
class GFG {
public static void main(String[] args) {
// code
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
for (int i = 0; i < t; i++) {
int m = sc.nextInt();
int n = sc.nextInt();
sc.nextLine();
String a = sc.nextLine();
... | .version 52 0
.class super GFG
.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 4
.end linenumbertable
.end code
.end method
.method ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:06:04 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
* Sun Jul 03 19:06:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,726 |
ArrayUtil | /* $Id$
*
* Part of ZonMW project no. 50-53000-98-156
*
* @license
* 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 ... | .version 52 0
.class public super ArrayUtil
.super java/lang/Object
.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 32
L4 34
.end linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:00: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
* Mon Jul 04 04:00: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;
... | 143,727 |
Stack | /** Created by mlux on 02.11.2015. */
public class Stack {
int[] data;
public int top;
Stack(int size) {
data = new int[size];
top = -1;
}
void push(int x) {
if (top == data.length - 1) System.out.println("-- overflow");
else data[++top] = x;
}
int pop() {
if (top < 0) {
Syste... | .version 52 0
.class public super Stack
.super java/lang/Object
.field data [I
.field public top I
.method <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: newarray int
L8: putfield Field Stack data... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:54:40 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
* Sun Jul 03 19:54:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,728 |
ColorFactory | import java.awt.Color;
import java.util.ArrayList;
import java.util.List;
public class ColorFactory {
private static final int ALPHA = 160;
private static final List<Color> colors = new ArrayList<>();
private static final List<String> colorNames = new ArrayList<>();
public static Color getColor(int index) {
... | .version 52 0
.class public super ColorFactory
.super java/lang/Object
.field private static final ALPHA I = 160
.field private static final colors Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/awt/Color;>;
.end fieldattributes
.field private static final colorNames Ljava/util/List; .fie... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:29:35 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 18:29:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,729 |
NumberPrinterWithReentrantLock | import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.ReentrantLock;
/** 我们要打印1到9这9个数字,由A线程先打印1,2,3,然后由B线程打印4,5,6,然后再由A线程打印7,8,9. */
public class NumberPrinterWithReentrant... | .version 52 0
.class public super NumberPrinterWithReentrantLock
.super java/lang/Object
.field private lock Ljava/util/concurrent/locks/ReentrantLock;
.field private cond1 Ljava/util/concurrent/locks/Condition;
.field private cond2 Ljava/util/concurrent/locks/Condition;
.field private number I
.method public <... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:41:45 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 11:41: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;
... | 143,730 |
NumberOfIslands | /**
* Given a 2-d grid map of '1's (land) and '0's (water), count the number of islands. An island is
* surrounded by water and is formed by connecting adjacent lands horizontally or vertically and
* diagonally. You may assume all four edges of the grid are all surrounded by water.
*/
public class NumberOfIslands {... | .version 52 0
.class public super NumberOfIslands
.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 co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:32:24 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 07:32:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,731 |
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
* Sun Jul 03 17:07:35 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
* Sun Jul 03 17:07:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,732 |
Unzip | import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.util.zip.ZipEntry;
import java.util.zip.ZipInputStream;
/**
* Extracts zip file
*
* @author Sayantan Majumdar
*/
public class Unzip {
private static f... | .version 52 0
.class public super Unzip
.super java/lang/Object
.field private static final BUFFER_SIZE I = 4096
.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
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:10:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:10: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;
... | 143,733 |
ConfigSystemsValuesSharedConstants | public class ConfigSystemsValuesSharedConstants {
public static final String TRUE = "true";
public static final String FALSE = "false";
}
| .version 52 0
.class public super ConfigSystemsValuesSharedConstants
.super java/lang/Object
.field public static final TRUE Ljava/lang/String; = 'true'
.field public static final FALSE Ljava/lang/String; = 'false'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:54: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 16:54: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;
... | 143,734 |
PhoneNumber | /*
* 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 kmhasan
*/
class PhoneNumber {
private int countryCode;
private int areaCode;
private int localNumber;
public... | .version 52 0
.class super PhoneNumber
.super java/lang/Object
.field private countryCode I
.field private areaCode I
.field private localNumber I
.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 08:21: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 08:21: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;
... | 143,735 |
FFMPEGVersion | public class FFMPEGVersion {}
| .version 52 0
.class public super FFMPEGVersion
.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
* Fri Jul 01 10:59: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
* Fri Jul 01 10:59: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;
... | 143,736 |
TestHelper | /**
* @author Matias Martinez
*/
public class TestHelper {
public static boolean equalsNoParentesis(String s1, String s2) {
return getWithoutParentheses(s1).equals(getWithoutParentheses(s2));
}
public static String getWithoutParentheses(String s1) {
return s1.replace("(", "").replace(")", "");
}
}
| .version 52 0
.class public super TestHelper
.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
* Mon Jul 04 11:29:49 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 11:29: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;
... | 143,737 |
OrderHelp | import java.io.*;
public class OrderHelp {
String table;
String fla;
File files;
String title;
String names;
int size;
int height1;
int height2;
public OrderHelp() {}
public void setfile(String path, String name) {
try {
files = new File(path, name);
size = (int) files.length();
... | .version 52 0
.class public super OrderHelp
.super java/lang/Object
.field table Ljava/lang/String;
.field fla Ljava/lang/String;
.field files Ljava/io/File;
.field title Ljava/lang/String;
.field names Ljava/lang/String;
.field size I
.field height1 I
.field height2 I
.method public <init> : ()V
.code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:17:13 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:17: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;
... | 143,738 |
AWSIotTimeoutException | /*
* Copyright 2016 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" ... | .version 52 0
.class public super AWSIotTimeoutException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.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/St... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:30: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 01:30: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;
... | 143,739 |
Solution | import java.util.HashSet;
import java.util.Set;
/*
Исправить ошибку. Сравнение объектов
*/
public class Solution {
private final String first, last;
public Solution(String first, String last) {
this.first = first;
this.last = last;
}
@Override
public boolean equals(Object o) {
if (o == null) re... | .version 52 0
.class public super Solution
.super java/lang/Object
.field private final first Ljava/lang/String;
.field private final last Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 00:09:04 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:09:04 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,740 |
NoiseGeneratorSimplex | import java.util.Random;
public class NoiseGeneratorSimplex {
private static int[][] grad3 =
new int[][] {
{1, 1, 0},
{-1, 1, 0},
{1, -1, 0},
{-1, -1, 0},
{1, 0, 1},
{-1, 0, 1},
{1, 0, -1},
{-1, 0, -1},
{0, 1, 1},
{0, -1, 1},
... | .version 52 0
.class public super NoiseGeneratorSimplex
.super java/lang/Object
.field private static grad3 [[I
.field public static final SQRT_3 D
.field private p [I
.field public xo D
.field public yo D
.field public zo D
.field private static final F2 D
.field private static final G2 D
.method public <i... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:32:11 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.evosuite.runtime.m... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:32: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;
... | 143,741 |
FileUtils | import java.io.*;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
import java.util.Random;
import java.util.regex.Pattern;
public class FileUtils {
private static final List<String> SOURCE_CONTROL_FOLDERS =
Arrays.asList("CVS", "RCS", ".git", ".svn", ".hg", ".bzr");
private stati... | .version 52 0
.class public super FileUtils
.super java/lang/Object
.field private static final SOURCE_CONTROL_FOLDERS Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.field private static final BACKSLASH Ljava/util/regex/Pattern;
.method public <init> ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:28:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.net.URI;
import ja... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:28:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,742 |
MailMessage | public class MailMessage {
public String to;
public String text;
public MailMessage(String to, String text) {
this.to = to;
this.text = text;
}
}
| .version 52 0
.class public super MailMessage
.super java/lang/Object
.field public to Ljava/lang/String;
.field public text Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:22: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
* Fri Jul 01 11:22: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;
... | 143,743 |
Solution | import java.io.*;
import java.util.*;
public class Solution {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int count = scanner.nextInt();
int[] numbers = new int[count];
for (int i = 0; i < count; i++) {
numbers[i] = scanner.nextInt();
}
for (int... | .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 4
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:25:20 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 16:25:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,744 |
GetKeyRotationStatusResult | /*
* Copyright 2010-2015 Amazon.com, Inc. or its affiliates. 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.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super GetKeyRotationStatusResult
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private keyRotationEnabled Ljava/lang/Boolean;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:00: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 14:00: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;
... | 143,745 |
FiveMsg | /*
* Exercise Program 1.2
* (Display five messages) Write a program that displays
* Welcome to Java five times.
*/
public class FiveMsg {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Welcome to Java");
System.out.println("Welcome to Java");
Syst... | .version 52 0
.class public super FiveMsg
.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
.end... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:21:37 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:21:37 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,746 |
Point | public class Point {
public double x;
public double y;
public Point(double x, double y) {
this.x = x;
this.y = y;
}
public static double distance(Point p1, Point p2) {
return Math.sqrt(Math.pow((p2.x - p1.x), 2) + Math.pow((p2.y - p1.y), 2));
}
}
| .version 52 0
.class public super Point
.super java/lang/Object
.field public x D
.field public y D
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field Point x D
L9: aloa... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:53: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
* Sun Jul 03 16:53: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;
... | 143,747 |
WumpusSLctrl | public class WumpusSLctrl {
public static void main(String[] args) {
// TODO Auto-generated method stub
//////// pull test!
}
}
| .version 52 0
.class public super WumpusSLctrl
.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
* Sat Jul 02 20:14:07 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:14:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,748 |
IEEEDouble | /* ====================================================================
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 Y... | .version 52 0
.class final super IEEEDouble
.super java/lang/Object
.field private static final EXPONENT_MASK J = 9218868437227405312L
.field private static final EXPONENT_SHIFT I = 52
.field public static final FRAC_MASK J = 4503599627370495L
.field public static final EXPONENT_BIAS I = 1023
.field public stati... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:55: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
* Sun Jul 03 20:55: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;
... | 143,749 |
GetCanonicalPath | /*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundati... | .version 52 0
.class public super GetCanonicalPath
.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 31
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:56: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 07:56: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;
... | 143,750 |
PluginConfigurationException | /*
* 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 ... | .version 52 0
.class public final super PluginConfigurationException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -3298813951573088711L
.method public varargs <init> : (Ljava/lang/String;[Ljava/lang/Object;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:08: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
* Sat Jul 02 06:08: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;
... | 143,751 |
ArrayClassTest | import java.lang.reflect.Field;
import java.lang.reflect.Method;
public class ArrayClassTest {
public static void main(String[] args) {
// Class<int[]> arrClass = int[].class;
Class<?> arrClass = Object[].class;
System.out.println(arrClass.getSuperclass());
for (Class<?> c : arrClass.getInterfaces(... | .version 52 0
.class public super ArrayClassTest
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:30: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 02:30: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;
... | 143,752 |
PGPPublicKeyUploadForm | import java.io.Serializable;
/** */
public class PGPPublicKeyUploadForm implements Serializable {
String asciiArmored;
public PGPPublicKeyUploadForm() {}
public String getAsciiArmored() {
return asciiArmored;
}
public void setAsciiArmored(String asciiArmored) {
this.asciiArmored = asciiArmored;
... | .version 52 0
.class public super PGPPublicKeyUploadForm
.super java/lang/Object
.implements java/io/Serializable
.field asciiArmored 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
* Sat Jul 02 03:59: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
* Sat Jul 02 03:59: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;
... | 143,753 |
DistributionRegionEntity | /*******************************************************************************
*
* Copyright (C) 2015-2022 the BBoxDB 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 ... | .version 52 0
.class super DistributionRegionEntity
.super java/lang/Object
.field private final distributionGroupName Ljava/lang/String;
.field private final regionId J
.method public <init> : (Ljava/lang/String;J)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:54: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
* Fri Jul 01 16:54: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;
... | 143,754 |
FileRenameException | /**
* File-Rename-Tool is a simple tool for renaming significant number of files. Copyright (C) 2010
* Meisam Fathi Salmi <meisam.fathi[at]gmail.com>
*
* <p>This program 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 ... | .version 52 0
.class public super FileRenameException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = 1L
.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> (Lj... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:42:49 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 11:42: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;
... | 143,755 |
Documento | import java.util.ArrayList;
import java.util.HashMap;
import java.util.Set;
public class Documento {
private int id;
private String titolo;
private String sabstract;
private String autori;
private HashMap<String, Integer> keywords;
private HashMap<String, Integer> stems;
private ArrayList<Integer> citazi... | .version 52 0
.class public super Documento
.super java/lang/Object
.field private id I
.field private titolo Ljava/lang/String;
.field private sabstract Ljava/lang/String;
.field private autori Ljava/lang/String;
.field private keywords Ljava/util/HashMap; .fieldattributes
.signature Ljava/util/HashMap<Lja... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:00:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.shaded.org.mockito.Mockito.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.ArrayList;
import java.util.HashMap;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:00: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;
... | 143,756 |
PageBean | import java.util.List;
/** Created by Water on 17/5/25. Email:water471871679@gmail.com */
public class PageBean {
/** 当前页数 */
private Integer currentPage;
/** 总条数 */
private Integer totalCount;
/** 总页数 */
private Integer totalPage;
/** 每页条数 */
private Integer pageSize;
/** 分页列表数据 */
private List li... | .version 52 0
.class public super PageBean
.super java/lang/Object
.field private currentPage Ljava/lang/Integer;
.field private totalCount Ljava/lang/Integer;
.field private totalPage Ljava/lang/Integer;
.field private pageSize Ljava/lang/Integer;
.field private list Ljava/util/List;
.method public <init> : (... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:47:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:47: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;
... | 143,757 |
MinSubstringCoverAllinSet | public class MinSubstringCoverAllinSet {
public static int find(String s1, String s2) {
int[] needToFound = new int[26];
int[] hasToFound = new int[26];
for (char c : s2.toCharArray()) {
needToFound[c - 'a']++;
}
int min = Integer.MAX_VALUE;
int count = 0;
for (int begin = 0, end =... | .version 52 0
.class public super MinSubstringCoverAllinSet
.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 1
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:42:15 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 22:42: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;
... | 143,758 |
TetrominoBag | /*
*
*/
import java.util.Random;
/**
* Description
*
* <p>Contrary to popular belief, the tetromino pieces you are given in a game of Tetris are not
* randomly selected. Instead, all seven pieces are placed into a "bag." A piece is randomly removed
* from the bag and presented to the player until the bag is em... | .version 52 0
.class public super TetrominoBag
.super java/lang/Object
.field static final chars [C
.field static rand Ljava/util/Random;
.field static bag [C
.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 07:05:03 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 07:05: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;
... | 143,759 |
VerificationFailedException | /** Thrown when domain controller's verification fails. */
public class VerificationFailedException extends Exception {
private static final long serialVersionUID = 1L;
/** Constructs new <code>VerificationFailedException</code>. */
public VerificationFailedException() {
super();
}
/**
* Constructs ... | .version 52 0
.class public super VerificationFailedException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linen... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 02:56: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 02:56: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;
... | 143,760 |
TableSimilarity | import java.text.DecimalFormat;
public class TableSimilarity {
private static final DecimalFormat df = new DecimalFormat("#0.00");
private double similarity;
private double precision;
private double recall;
public TableSimilarity(double similarity, double precision, double recall) {
this.similarity = s... | .version 52 0
.class public super TableSimilarity
.super java/lang/Object
.field private static final df Ljava/text/DecimalFormat;
.field private similarity D
.field private precision D
.field private recall D
.method public <init> : (DDD)V
.code stack 3 locals 7
L0: aload_0
L1: invokespecial Met... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:32: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
* Sun Jul 03 18:32: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;
... | 143,761 |
Problem313 | import java.util.TreeSet;
/** https://leetcode.com/problems/super-ugly-number/ */
public class Problem313 {
public int nthSuperUglyNumber(int n, int[] primes) {
TreeSet<Long> set = new TreeSet<>();
for (int prime : primes) {
set.add((long) prime);
}
set.add(1L);
int i = 0;
long result =... | .version 52 0
.class public super Problem313
.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
* Fri Jul 01 16:30:31 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 16:30: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;
... | 143,762 |
LockResource | /*
* This code is subject to the HIEOS License, Version 1.0
*
* Copyright(c) 2012 Vangent, Inc. All rights reserved.
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either ... | .version 52 0
.class public super LockResource
.super java/lang/Object
.field private id Ljava/lang/String;
.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 26
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:34: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
* Mon Jul 04 01:34: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;
... | 143,763 |
Messages | /**
* Copyright 2011-2017 Asakusa Framework Team.
*
* <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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unless required by applicab... | .version 52 0
.class final super Messages
.super java/lang/Object
.field private static final BUNDLE_NAME Ljava/lang/String; = 'com.asakusafw.testdriver.temporary.messages'
.field private static final RESOURCE_BUNDLE Ljava/util/ResourceBundle;
.method private <init> : ()V
.code stack 1 locals 1
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:38:24 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:38:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,764 |
NavItemSelectedEvent | /**
* Pub/Sub event used to communicate between fragment and activity. Subscription occurs in the
* {@link com.lnidigitalmarketing.aacc.ui.MainActivity}
*/
public class NavItemSelectedEvent {
private int itemPosition;
public NavItemSelectedEvent(int itemPosition) {
this.itemPosition = itemPosition;
}
p... | .version 52 0
.class public super NavItemSelectedEvent
.super java/lang/Object
.field private itemPosition 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 NavItemSelectedE... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:43:22 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:43: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;
... | 143,765 |
Sentence | /**
* redpen: a text inspection tool Copyright (C) 2014 Recruit Technologies Co., Ltd. and contributors
* (see CONTRIBUTORS.md)
*
* <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
*
* <p>... | .version 52 0
.class public final super Sentence
.super java/lang/Object
.field public content Ljava/lang/String;
.field public position I
.field public isFirstSentence Z
.field public final links Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.metho... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:07: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 04:07: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;
... | 143,766 |
PcepTunnelAttributeException | /*
* Copyright 2015 Open Networking Laboratory
*
* 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 la... | .version 52 0
.class public super PcepTunnelAttributeException
.super java/lang/Exception
.field private static final serialVersionUID J = 2L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.line... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:37:57 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 15:37: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;
... | 143,767 |
Main | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int objective = sc.nextInt();
if (objective == 0) {
break;
}
int numStudy = sc.nextInt();
int studyTime = 0;
for (int i... | .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 3
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:11:16 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 15:11: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;
... | 143,768 |
StoryException | /**
* Licensed to the Austrian Association for Software Tool Integration (AASTI) under one or more
* contributor license agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership. The AASTI licenses this file to you under the Apache
* License, Version 2.0 ... | .version 52 0
.class public super StoryException
.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 24
L4 25
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:26:30 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:26:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,769 |
Solution | public class Solution {
public int NumberOf1(int n) {
int tool = 1;
int count = 0;
while (tool != 0) {
if ((tool & n) != 0) {
count++;
}
tool = tool << 1;
}
return count;
}
}
/*
public class Solution {
public int NumberOf1(int n) {
int count = 0;
while... | .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 1
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:54:07 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:54:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,770 |
EnhancerRunner | /*
* Copyright 2000-2013 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 EnhancerRunner
.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 30
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:20:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.FileNotFoundException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPar... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:20: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;
... | 143,771 |
TCPConstants | public class TCPConstants {
// 服务器固化UDP接收端口
public static int PORT_SERVER = 30401;
}
| .version 52 0
.class public super TCPConstants
.super java/lang/Object
.field public static PORT_SERVER 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 3
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:10: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
* Sun Jul 03 21:10: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;
... | 143,772 |
P8 | /**
* https://www.hackerrank.com/challenges/unbounded-knapsack
*
* @author harish.sharma
*/
public class P8 {}
| .version 52 0
.class public super P8
.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
.end meth... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:20: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 13:20: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;
... | 143,773 |
CodeModifier | import java.util.Scanner;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
public class CodeModifier {
private static final String NL = System.lineSeparator();
private static final String ASSIGNMENT = "^[^=]+=";
private static final Pattern TOP_LEVEL_METHOD_BEGIN =
Pattern.compile("\\A\\s*([... | .version 52 0
.class public super CodeModifier
.super java/lang/Object
.field private static final NL Ljava/lang/String;
.field private static final ASSIGNMENT Ljava/lang/String; = '^[^=]+='
.field private static final TOP_LEVEL_METHOD_BEGIN Ljava/util/regex/Pattern;
.field private static final TOP_LEVEL_METHOD_E... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:41:49 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 12:41: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;
... | 143,774 |
Itemset | import java.io.Serializable;
import java.util.List;
import java.util.Set;
import java.util.Vector;
public class Itemset implements Comparable<Itemset>, Serializable {
private static final long serialVersionUID = -3444651129919839603L;
int support;
public final List<Integer> featureIds;
public List<Integer> c... | .version 52 0
.class public super Itemset
.super java/lang/Object
.implements java/lang/Comparable
.implements java/io/Serializable
.field private static final serialVersionUID J = -3444651129919839603L
.field support I
.field public final featureIds Ljava/util/List; .fieldattributes
.signature Ljava/util/L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:40:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedHashSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRun... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:40:52 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,775 |
NotificationException | /**
* Copyright © 2017 Salzburg Research Forschungsgesellschaft (graphium@salzburgresearch.at)
*
* <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
*
* <p>http://www.apache.org/licenses/LIC... | .version 52 0
.class public super NotificationException
.super java/lang/Exception
.field private static final serialVersionUID J = 537045140015472694L
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:44: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
* Sat Jul 02 11:44: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;
... | 143,776 |
User | import java.util.Date;
public class User {
@Override
public String toString() {
return "User [id=" + id + ", name=" + name + ", age=" + age + ", created=" + created + "]";
}
private Integer id;
private String name;
private Integer age;
private Date created;
public Integer getId() {
return id;... | .version 52 0
.class public super User
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private name Ljava/lang/String;
.field private age Ljava/lang/Integer;
.field private created Ljava/util/Date;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespeci... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:56:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:56: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;
... | 143,777 |
Constants | /**
* Copyright (C) 2013-2020 Vasilis Vryniotis <bbriniotis@datumbox.com>
*
* <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
*
* <p>http://www.apache.org/licenses/LICENSE-2.0
*
* <p>Unl... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final DOUBLE_ACCURACY_HIGH D = +1e-05
.field public static final DOUBLE_ACCURACY_MEDIUM D = +0.0001
.field public static final RANDOM_SEED J = 42L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1:... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23: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
* Sun Jul 03 23: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;
... | 143,778 |
ClientDemo | import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;
/*
* TCP协议发送数据:
* A:创建发送端的Socket对象
* 这一步如果成功,就说明连接已经建立成功了。
* B:获取输出流,写数据
* C:释放资源
*
* 连接被拒绝。TCP协议一定要先看服务器。
* java.net.ConnectException: Connection refused: connect
*/
public class ClientDemo {
public static void main(String[]... | .version 52 0
.class public super ClientDemo
.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 17
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:09:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.IOException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
i... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:09: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;
... | 143,779 |
Resources | public class Resources {}
| .version 52 0
.class public super Resources
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:40: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 20:40: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;
... | 143,780 |
Cours | public class Cours {
int niveau;
String reseau;
String format;
Cours(int niveau, String reseau) {
this.niveau = niveau;
this.reseau = reseau;
if (reseau.equals("wifi") || reseau.equals("3G") || reseau.equals("4G"))
format = "(TEXTE, AUDIO, VIDEO)";
else format = "(TEXTE)";
}
public ... | .version 52 0
.class public super Cours
.super java/lang/Object
.field niveau I
.field reseau Ljava/lang/String;
.field format Ljava/lang/String;
.method <init> : (ILjava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:52: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 22:52: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;
... | 143,781 |
Record | /** Created by CGZ on 2016/7/8. */
public class Record {
public long time = 0L;
public boolean tag = false;
public Record(long time, boolean tag) {
this.time = time;
this.tag = tag;
}
}
| .version 52 0
.class public super Record
.super java/lang/Object
.field public time J
.field public tag Z
.method public <init> : (JZ)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: lconst_0
L6: putfield Field Record time J
L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:42:20 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:42:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,782 |
StringReverser | import java.util.Scanner;
public class StringReverser {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String userstring; // String used to store users sentence
System.out.format(
"Hello there! Go ahead and enter a sentence or someother line of text and I'll do s... | .version 52 0
.class public super StringReverser
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:35:09 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 14:35:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,783 |
OldArray | public class OldArray {
/*
* previously when working with an array we would
* have some code like what is below.
*/
public static void main(String[] args) {
String names[] = {"Bob", "Milly", "Mindy"};
// for (String string : names){
// System.out.println(string);
// }
/*
* Bu... | .version 52 0
.class public super OldArray
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:55:03 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 07:55: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;
... | 143,784 |
AmplificationPoint | /*
* Copyright (C) 2014-2015 by gempa GmbH - http://gempa.de
* License: http://www.gnu.org/licenses/gpl.html GPL version 2 or higher
*/
/**
* @author Stephan Herrnkind herrnkind at gempa dot de
*/
public class AmplificationPoint {
public double latitude;
public double longitude;
public double altitude;
p... | .version 52 0
.class public super AmplificationPoint
.super java/lang/Object
.field public latitude D
.field public longitude D
.field public altitude D
.field public amplification D
.method public <init> : (DDDD)V
.code stack 3 locals 9
L0: aload_0
L1: invokespecial Method java/lang/Object <init... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:33:24 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 07:33:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,785 |
Test | public class Test {
public static void main(String[] args) {
System.out.println("hellow git");
}
}
| .version 52 0
.class public super Test
.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 1
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:11:18 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:11: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;
... | 143,786 |
SumTwoNumbers | import java.util.Scanner;
/** Created by CSKA on 02-Aug-17. */
public class SumTwoNumbers {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double num1 = Double.parseDouble(scanner.nextLine());
double num2 = Double.parseDouble(scanner.nextLine());
System.out.printf(... | .version 52 0
.class public super SumTwoNumbers
.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... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:27:38 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 16:27:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,787 |
SwansDriver | public class SwansDriver {}
| .version 52 0
.class public super SwansDriver
.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
* Sat Jul 02 21:04: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
* Sat Jul 02 21:04: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;
... | 143,788 |
SpheroHeartbeat | import java.util.concurrent.locks.Condition;
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
// Copyright (C) 2014, Jean-Pierre de la Croix
// see the LICENSE file included with this software
public class SpheroHeartbeat {
private final Lock heartbeatLock = new ReentrantLoc... | .version 52 0
.class public super SpheroHeartbeat
.super java/lang/Object
.field private final heartbeatLock Ljava/util/concurrent/locks/Lock;
.field private final heartbeatLost Ljava/util/concurrent/locks/Condition;
.method public <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: invokespecial M... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:38: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
* Sun Jul 03 23:38:51 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... | 143,789 |
VocabularyTypes | /** Created by Tatka on 28.11.2016. */
public final class VocabularyTypes {
public static final String lang = "language";
public static final String chatType = "chatType";
public static final String serversGroup = "serversGroup";
public static final String serverName = "serverName";
public static final String... | .version 52 0
.class public final super VocabularyTypes
.super java/lang/Object
.field public static final lang Ljava/lang/String; = 'language'
.field public static final chatType Ljava/lang/String; = 'chatType'
.field public static final serversGroup Ljava/lang/String; = 'serversGroup'
.field public static final... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:30:02 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:30: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;
... | 143,790 |
Project | /*
*
* Copyright 2014 Applied Visions
*
* 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 ... | .version 52 0
.class public super Project
.super java/lang/Object
.field private id I
.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:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:29: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
* Mon Jul 04 01:29: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;
... | 143,791 |
TrendingConstants | /** */
public class TrendingConstants {
public static final String TRENDING_PREFIX = "/plugin/trending";
public static final String CUSTOM_QUERY_ENDPOINT = "/custom";
private TrendingConstants() {}
}
| .version 52 0
.class public super TrendingConstants
.super java/lang/Object
.field public static final TRENDING_PREFIX Ljava/lang/String; = '/plugin/trending'
.field public static final CUSTOM_QUERY_ENDPOINT Ljava/lang/String; = '/custom'
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:04:10 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 02:04:10 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... | 143,792 |
RefreshOtto | /** Created by Libery on 2015/12/5. Email:libery.szq@qq.com */
public class RefreshOtto {
public boolean ismRefresh() {
return mRefresh;
}
public RefreshOtto(boolean mRefresh) {
this.mRefresh = mRefresh;
}
private boolean mRefresh;
}
| .version 52 0
.class public super RefreshOtto
.super java/lang/Object
.field private mRefresh Z
.method public ismRefresh : ()Z
.code stack 1 locals 1
L0: aload_0
L1: getfield Field RefreshOtto mRefresh Z
L4: ireturn
L5:
.linenumbertable
L0 10
.end linenumber... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:48: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
* Mon Jul 04 07:48: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;
... | 143,793 |
WmiResult | /*******************************************************************************
* This file is part of OpenNMS(R).
*
* Copyright (C) 2009-2012 The OpenNMS Group, Inc.
* OpenNMS(R) is Copyright (C) 1999-2012 The OpenNMS Group, Inc.
*
* OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.
*
* OpenNMS(... | .version 52 0
.class public super WmiResult
.super java/lang/Object
.field private m_Response Ljava/util/ArrayList; .fieldattributes
.signature Ljava/util/ArrayList<Ljava/lang/Object;>;
.end fieldattributes
.field private m_ResultCode S
.field public static final RES_STATE_OK S = 0
.field public static fina... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:00:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.ArrayList;
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
* Mon Jul 04 02:00: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;
... | 143,794 |
MathUtils | import java.text.DecimalFormat;
import java.text.NumberFormat;
import java.util.regex.Pattern;
/** Created by Zireck on 16/07/2015. */
public class MathUtils {
public static String getTwoDigitsString(int number) {
return ((number < 10) ? "0" : "") + number;
}
public static int getAmountFromText(String text... | .version 52 0
.class public super MathUtils
.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
* Mon Jul 04 02:48:51 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:48: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;
... | 143,795 |
User | import java.util.List;
public final class User {
private final long id;
private final String userJid;
private final List<String> roles;
public User(long id, String userJid, List<String> roles) {
this.id = id;
this.userJid = userJid;
this.roles = roles;
}
public long getId() {
return id... | .version 52 0
.class public final super User
.super java/lang/Object
.field private final id J
.field private final userJid Ljava/lang/String;
.field private final roles Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/lang/String;>;
.end fieldattributes
.method public <init> : (JLjava/la... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:29:21 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
* Sat Jul 02 20:29: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;
... | 143,796 |
NPETryTest | /*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwa... | .version 52 0
.class public super NPETryTest
.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 33
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:28:40 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 11:28:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,797 |
Car | public class Car {
public void makesCarSound() {
System.out.println("RRRRRRR");
}
}
| .version 52 0
.class public super Car
.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 2
.end linenumbertable
.end code
.end met... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 03:31: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
* Mon Jul 04 03:31: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;
... | 143,798 |
NumberSelector | /** Created on 09/02/2016. */
public class NumberSelector {
public static String numeroUsuario(String urlPerfil) {
String userNumber = "";
for (int i = urlPerfil.length(); i > 0; i--) {
String caracter = String.valueOf(urlPerfil.charAt(i - 1));
if ("_".equals(caracter)) {
userNumber = new... | .version 52 0
.class public super NumberSelector
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:07:30 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:07:30 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 143,799 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.