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 |
|---|---|---|---|---|---|
Sets | // -*- mode: java; c-basic-offset: 2; -*-
// Copyright 2009-2011 Google, All Rights reserved
// Copyright 2011-2012 MIT, All rights reserved
// Released under the Apache License, Version 2.0
// http://www.apache.org/licenses/LICENSE-2.0
import java.util.Collections;
import java.util.EnumSet;
import java.util.HashSet;
... | .version 52 0
.class public super Sets
.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 23
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:55:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashSet;
import java.util.SortedSet;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.Run... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:55: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;
... | 141,200 |
RestoreStatus | /*
* Copyright 2010-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 "l... | .version 52 0
.class public super RestoreStatus
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private status Ljava/lang/String;
.field private currentRestoreRateInMegaBytesPerSecond Ljava/lang/Double;
.field private snapshotSizeInMegaBytes Ljava/lang/Long;
.fiel... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:57:26 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:57: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;
... | 141,201 |
Point | import java.awt.geom.Point2D;
public class Point extends Point2D.Double {
private static final long serialVersionUID = 1214155619618871037L;
public static final Point Null = null;
public Point(double x, double y) {
this.x = x;
this.y = y;
}
public Point() {
this(0, 0);
}
public static P... | .version 52 0
.class public super Point
.super java/awt/geom/Point2D$Double
.field private static final serialVersionUID J = 1214155619618871037L
.field public static final Null LPoint;
.method public <init> : (DD)V
.code stack 3 locals 5
L0: aload_0
L1: invokespecial Method java/awt/geom/Point2D$D... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:06:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:06: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;
... | 141,202 |
whileTrue | public class whileTrue {
void test() {
boolean b = true;
while (b) {}
}
}
| .version 52 0
.class public super whileTrue
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:49:14 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 21:49:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,203 |
Square | /** Class for calculate square. */
public class Square {
/** coordinate point a. */
private double a;
/** coordinate point b. */
private double b;
/** coordinate point c. */
private double c;
/**
* Constructor for class.
*
* @param a number a.
* @param b number b.
* @param c number c.
... | .version 52 0
.class public super Square
.super java/lang/Object
.field private a D
.field private b D
.field private c D
.method public <init> : (DDD)V
.code stack 3 locals 7
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
L6: putfield Field... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:25:55 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 04:25: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;
... | 141,204 |
Incrementer | /** Created by Nathan_Zeplowitz on 4/1/15. */
public class Incrementer {
private int timesIncrementCalled = 0;
public void increment() {
timesIncrementCalled++;
}
public void total() {
System.out.println(timesIncrementCalled);
}
}
| .version 52 0
.class public super Incrementer
.super java/lang/Object
.field private timesIncrementCalled I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field Incrementer times... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 09:26: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
* Fri Jul 01 09:26: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;
... | 141,205 |
ModelChangeEvent | /*******************************************************************************
* Copyright (c) 2012 Firestar Software, Inc.
* 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 avail... | .version 52 0
.class public super ModelChangeEvent
.super java/util/EventObject
.method public <init> : (Ljava/lang/Object;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/util/EventObject <init> (Ljava/lang/Object;)V
L5: return
L6:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:05: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
* Sat Jul 02 01:05: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;
... | 141,206 |
Message | /**
* A small data structure that represents a message which contains body content and a sender.
*
* @author Winslow Dalpe
*/
public class Message {
private String _sender;
private String _content;
/**
* Constructs a new message
*
* @param sender
* @param content
*/
public Message(String sen... | .version 52 0
.class public super Message
.super java/lang/Object
.field private _sender Ljava/lang/String;
.field private _content 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> ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:44: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 17:44: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;
... | 141,207 |
NumberToOrdinal | /**
* @author Alex Nevsky
* <p>Date: 05/10/2020
*/
public class NumberToOrdinal {
public static final String ZERO_CHAR_STRING = "0";
public static String numberToOrdinal(Integer number) {
if (0 == number) {
return ZERO_CHAR_STRING;
}
char[] sym = number.toString().toCharArray();
Stri... | .version 52 0
.class public super NumberToOrdinal
.super java/lang/Object
.field public static final ZERO_CHAR_STRING Ljava/lang/String; = '0'
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenu... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:43: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:43:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,208 |
HtmlRegexpUtils | import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Title: HTML相关的正则表达式工具类 Description: 包括过滤HTML标记,转换HTML标记,替换特定HTML标记 Copyright: Copyright (c) 2006
*
* @author hejian
* @version 1.0
* @createtime 2006-10-16
*/
public class HtmlRegexpUtils {
private static final String regxpForHtml = "<([^>]*... | .version 52 0
.class public super HtmlRegexpUtils
.super java/lang/Object
.field private static final regxpForHtml Ljava/lang/String; = '<([^>]*)>'
.field private static final regxpForImgTag Ljava/lang/String; = '<\\s*img\\s+([^>]*)\\s*>'
.field private static final regxpForImaTagSrcAttrib Ljava/lang/String; = 'sr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:18:43 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:18:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,209 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = false;
public static final String APPLICATION_ID = "com.o3dr.android.client";
public static final String BUILD_TYPE = "release";
public static final String FLAVOR = "";
public static final i... | .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 0
.field public static final APPLICATION_ID Ljava/lang/String; = 'com.o3dr.android.client'
.field public static final BUILD_TYPE Ljava/lang/String; = 'release'
.field public static final FLAVOR Ljava/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:01:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:01: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;
... | 141,210 |
Configuration | import java.awt.*;
public class Configuration {
// Var
private int windowSize;
private int numberOfAnts;
private int bunchOfFoodQuantity;
private int numberOfObstacle;
private int AntHillQuantity;
private int AntHillSize;
private int obstacleSize;
private Point bunchOfFoodPosition;
// Form validat... | .version 52 0
.class public super Configuration
.super java/lang/Object
.field private windowSize I
.field private numberOfAnts I
.field private bunchOfFoodQuantity I
.field private numberOfObstacle I
.field private AntHillQuantity I
.field private AntHillSize I
.field private obstacleSize I
.field private bu... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:12:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Point;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:12: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;
... | 141,211 |
ViewFormatter | import java.lang.reflect.Method;
import java.lang.reflect.Modifier;
import java.text.DateFormat;
import java.text.NumberFormat;
import java.text.SimpleDateFormat;
import java.util.Date;
public class ViewFormatter {
DateFormat datef = null;
NumberFormat nf = null;
public ViewFormatter() {
datef = new Simple... | .version 52 0
.class public super ViewFormatter
.super java/lang/Object
.field datef Ljava/text/DateFormat;
.field nf Ljava/text/NumberFormat;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: aconst_null
L... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:55:57 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
* Sun Jul 03 21:55:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,212 |
Vector2 | /*******************************************************************************
* Copyright 2015 Maximilian Stark | Dakror <mail@dakror.de>
*
* 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 public super Vector2
.super java/lang/Object
.implements java/lang/Comparable
.field public x F
.field public y F
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:58: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
* Sat Jul 02 15:58: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;
... | 141,213 |
PropertyNotDefinedException | /**
* Copyright (C) 2009-2013 FoundationDB, LLC
*
* <p>This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either version 3
* of the License, or (at your option) any later version.
*
* <p>... | .version 52 0
.class public final super PropertyNotDefinedException
.super java/lang/RuntimeException
.method <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/RuntimeException <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:49:06 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:49: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;
... | 141,214 |
GroupOnInfo | /** Created by xtao on 2015/11/30. */
public class GroupOnInfo {
private String website;
private String site;
private String groupName;
private Integer price;
private Integer originPrice;
private Double discount;
private String address;
private Double distance;
private String discription;
public Gr... | .version 52 0
.class public super GroupOnInfo
.super java/lang/Object
.field private website Ljava/lang/String;
.field private site Ljava/lang/String;
.field private groupName Ljava/lang/String;
.field private price Ljava/lang/Integer;
.field private originPrice Ljava/lang/Integer;
.field private discount Ljava... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:49: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
* Sat Jul 02 19:49: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;
... | 141,215 |
Product | /** Created by oji on 3/9/17. */
public class Product {
private int id, price;
private String name;
public Product(int id, int price, String name) {
this.id = id;
this.price = price;
this.name = name;
}
public Product(int price, String name) {
this.price = price;
this.name = name;
}
... | .version 52 0
.class public super Product
.super java/lang/Object
.field private id I
.field private price I
.field private name Ljava/lang/String;
.method public <init> : (IILjava/lang/String;)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:02: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
* Sat Jul 02 11:02: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;
... | 141,216 |
Token | /* Generated By:JavaCC: Do not edit this line. Token.java Version 3.0 */
/** Describes the input token stream. */
public class Token {
/**
* An integer that describes the kind of this token. This numbering system is determined by
* JavaCCParser, and a table of these numbers is stored in the file ...Constants.... | .version 52 0
.class public super Token
.super java/lang/Object
.field public kind I
.field public beginLine I
.field public beginColumn I
.field public endLine I
.field public endColumn I
.field public image Ljava/lang/String;
.field public next LToken;
.field public specialToken LToken;
.method public <in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:58: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 06:58: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;
... | 141,217 |
StringUtil | /*
* Copyright (c) 2017, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | .version 52 0
.class public super StringUtil
.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 24
L4 25
.end linenumberta... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:27: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 14:27: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;
... | 141,218 |
CompressZlib | /*
* 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 ... | .version 52 0
.class public final super CompressZlib
.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 32
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:02:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedInputStream;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:02: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;
... | 141,219 |
ChromaFormat | /*
Copyright (c) 2011 Stanislav Vitvitskiy
Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the "Software"), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify,
merge, publish, distri... | .version 52 0
.class public super ChromaFormat
.super java/lang/Object
.field public static MONOCHROME LChromaFormat;
.field public static YUV_420 LChromaFormat;
.field public static YUV_422 LChromaFormat;
.field public static YUV_444 LChromaFormat;
.field private id I
.field private subWidth I
.field private ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:36: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 06:36:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,220 |
AbstractTask | public abstract class AbstractTask {
abstract void setCanceled(String aMessage);
abstract void setMessage(String aMessage);
abstract void setStatus(int code, String aMessage);
}
| .version 52 0
.class public super abstract AbstractTask
.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
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:50: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 16:50:37 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... | 141,221 |
SupplierIdDto | public class SupplierIdDto {
private long id;
public SupplierIdDto() {}
public long getId() {
return this.id;
}
public void setId(long id) {
this.id = id;
}
}
| .version 52 0
.class public super SupplierIdDto
.super java/lang/Object
.field private id J
.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 7
L4 8
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:24: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 07:24: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;
... | 141,222 |
CallException | /*
* Copyright (c) 2012, the Last.fm Java Project and Committers
* All rights reserved.
*
* Redistribution and use of this software in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* - Redistributions of source code must retain the above
... | .version 52 0
.class public super CallException
.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 34
L4 35
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:01:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:01:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,223 |
SentenceGenerator | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | .version 52 0
.class public super SentenceGenerator
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 18
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:51:26 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:51:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,224 |
gEdge | public class gEdge {
public String edge_id;
public String node_from;
public String node_to;
public gEdge(String edge_id, String node_from, String node_to) {
this.edge_id = edge_id;
this.node_from = node_from;
this.node_to = node_to;
}
}
| .version 52 0
.class public super gEdge
.super java/lang/Object
.field public edge_id Ljava/lang/String;
.field public node_from Ljava/lang/String;
.field public node_to Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 4
L0: aload... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:38: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
* Sat Jul 02 13:38: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;
... | 141,225 |
pangrams | /*
* Copyright 2012 Mohan Singh.
*
* 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 pangrams
.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 25
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:30:36 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
* Fri Jul 01 07:30: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;
... | 141,226 |
FindDifference | /**
* Created by cuixiaodao on 11/04/2017 for leetCode problem:
* https://leetcode.com/problems/island-perimeter/description/
*/
public class FindDifference {
public char findTheDifference(String s, String t) {
char xor = 0;
for (char c : (s + t).toCharArray()) xor ^= c;
return xor;
}
}
| .version 52 0
.class public super FindDifference
.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 cod... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:12: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
* Fri Jul 01 16:12: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;
... | 141,227 |
Constants | /* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final BUNDLE_FLOWABLE_HEADER Ljava/lang/String; = 'Flowable-Bundle'
.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
* Sun Jul 03 17:43:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:43:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,228 |
BaculaDotStatusClientRunningDto | /*
* Copyright (C) 2015 Uhlig e Korovsky Tecnologia Ltda - ME
*
* 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 Foundation, either version 3 of the License, or
* (at your option) any later version.
*... | .version 52 0
.class public super BaculaDotStatusClientRunningDto
.super java/lang/Object
.implements java/io/Serializable
.field private jobId Ljava/lang/Long;
.field private job Ljava/lang/String;
.field private vss Ljava/lang/Long;
.field private level Ljava/lang/String;
.field private jobType Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:11:11 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.time.Instant;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:11: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;
... | 141,229 |
City | public class City {
private int id;
private String cityName;
private String cityCode;
private int provinceId;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getCityName() {
return cityName;
}
public void setCityName(String cityName) {
... | .version 52 0
.class public super City
.super java/lang/Object
.field private id I
.field private cityName Ljava/lang/String;
.field private cityCode Ljava/lang/String;
.field private provinceId I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Ob... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:36:11 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:36: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;
... | 141,230 |
ReverseSentence | /**
* https://www.nowcoder.com/practice/3194a4f4cf814f63919d0790578d51f3?tpId=13&&tqId=11197&rp=1&ru=/activity/oj&qru
* =/ta/coding-interviews/question-ranking
*
* <p>
*
* <p>反转整个语句,形如: student. a am I I am a student.
*/
public class ReverseSentence {
public static void main(String[] args) {
System.out.pr... | .version 52 0
.class public super ReverseSentence
.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 c... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:26:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03:26: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;
... | 141,231 |
EntitlementClientConstants | /*
* Copyright (c) 2015, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* ... | .version 52 0
.class public super EntitlementClientConstants
.super java/lang/Object
.field public static final TRUST_STORE_PATH Ljava/lang/String; = 'trustStore'
.field public static final TRUST_STORE_PASSWORD Ljava/lang/String; = 'trustStorePassword'
.field public static final SERVER_URL Ljava/lang/String; = 'id... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:56:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:56: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;
... | 141,232 |
Box | public class Box {
double width = 0.0;
double height;
double depth;
// sets dimensions of the box
void setDim(double w, double h, double d) {
width = w;
height = h;
depth = d;
}
double volume() {
return width * height * depth;
}
Box() {}
Box(double width, double height, double dep... | .version 52 0
.class public super Box
.super java/lang/Object
.field width D
.field height D
.field depth D
.method setDim : (DDD)V
.code stack 3 locals 7
L0: aload_0
L1: dload_1
L2: putfield Field Box width D
L5: aload_0
L6: dload_3
L7: putfield Field Box height D
L10: alo... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:32: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
* Fri Jul 01 15:32: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;
... | 141,233 |
StringTemplateConstants | /**
* 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 final super StringTemplateConstants
.super java/lang/Object
.field public static final STRINGTEMPLATE_RESOURCE_URI Ljava/lang/String; = 'CamelStringTemplateResourceUri'
.field public static final STRINGTEMPLATE_VARIABLE_MAP Ljava/lang/String; = 'CamelStringTemplateVariableMap'
.method ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:41: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:41:16 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... | 141,234 |
User | /** Created by Mike Park on 14/03/2015. */
public class User {
String name;
int deviceID;
String socketID;
public User(String name, int deviceID) {
this.name = name;
this.deviceID = deviceID;
this.socketID = "";
}
public User() {
this.name = "";
this.deviceID = -1;
this.socketID =... | .version 52 0
.class public super User
.super java/lang/Object
.field name Ljava/lang/String;
.field deviceID I
.field socketID Ljava/lang/String;
.method public <init> : (Ljava/lang/String;I)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:29:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:29:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,235 |
InvalidMojangChallengeAnswerException | /*
* SkinSwitch - InvalidMojangChallengeAnswerException
* Copyright (C) 2014-2015 Baptiste Candellier
*
* 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 Foundation, either version 3 of the License, or... | .version 52 0
.class public super InvalidMojangChallengeAnswerException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;)V
L5: return
L6:
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:24: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 12:24:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,236 |
XtParmas | /**
* mybatis参数辅助类 XtParmas 创建人:肖腾 时间:2016年1月1日-下午3:00:29
*
* @version 1.0.0
*/
public class XtParmas {
private Integer id; // 主键的查询
private String password; // 用户的密码
private String username; // 用户名
private String account; // 用户帐号
private Integer channelid; // 用户栏目的id
private String keywords; // 用... | .version 52 0
.class public super XtParmas
.super java/lang/Object
.field private id Ljava/lang/Integer;
.field private password Ljava/lang/String;
.field private username Ljava/lang/String;
.field private account Ljava/lang/String;
.field private channelid Ljava/lang/Integer;
.field private keywords Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:47: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
* Sat Jul 02 07:47: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;
... | 141,237 |
ApplyOfferMessage | public class ApplyOfferMessage {
private String userIDSend;
private String userIDReceive;
private String offerID;
public ApplyOfferMessage(String offer, String senderID, String receiverID) {
offerID = offer;
userIDSend = senderID;
userIDReceive = receiverID;
}
public String getUserIDReceive() ... | .version 52 0
.class public super ApplyOfferMessage
.super java/lang/Object
.field private userIDSend Ljava/lang/String;
.field private userIDReceive Ljava/lang/String;
.field private offerID Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 l... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:11: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
* Mon Jul 04 11:11: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;
... | 141,238 |
Noeud | /*
Copyright (C) 2010 Lazhar Farjallah, Pierre-Dominique Putallaz
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 Foundation; either version 3 of the License, or
(at your option) any later version.
... | .version 52 0
.class public super Noeud
.super java/awt/Point
.field private static final serialVersionUID J = 8628318929701303111L
.field private actif Z
.field protected final LARGEUR_NOEUD I
.method <init> : (III)V
.code stack 3 locals 4
L0: aload_0
L1: invokespecial Method java/awt/Point <init... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:42: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
* Fri Jul 01 22:42: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;
... | 141,239 |
LeetCode0600 | public class LeetCode0600 {
public int findIntegers(int num) {
int bitCount = 0;
int[] numInBit = new int[32];
for (int i = num; i > 0; i >>= 1) {
numInBit[bitCount++] = (i & 1);
}
int[] dp = new int[bitCount + 1];
dp[0] = 1;
dp[1] = 2;
for (int i = 2; i <= bitCount; i++) {
... | .version 52 0
.class public super LeetCode0600
.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
* Sun Jul 03 15:50:59 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 15:50: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;
... | 141,240 |
PresConstants | public class PresConstants {
public static final String THUMB_DIR = "/Thumbnails";
public static final String SESSION_LAST_VIEW = "TTS_LAST_VIEW";
public static final String TILES_REQUEST_LOCAL = "TTR_TILES_REQUEST";
public static final String ERROR_FORWARD = "error.jsp";
public static final String XSL_URL_... | .version 52 0
.class public super PresConstants
.super java/lang/Object
.field public static final THUMB_DIR Ljava/lang/String; = '/Thumbnails'
.field public static final SESSION_LAST_VIEW Ljava/lang/String; = 'TTS_LAST_VIEW'
.field public static final TILES_REQUEST_LOCAL Ljava/lang/String; = 'TTR_TILES_REQUEST'
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 22:27: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
* Fri Jul 01 22:27: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;
... | 141,241 |
BinarySizeMismatchException | import java.io.*;
/**
* The size of a <code>VicarBinaryLabel</code> does not match the size of the header or prefix of
* the file it is being written to.
*/
public class BinarySizeMismatchException extends IOException {
/***********************************************************************
* Detailed messag... | .version 52 0
.class public super BinarySizeMismatchException
.super java/io/IOException
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/IOException <init> (Ljava/lang/String;)V
L5: return
L6:
.linen... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:03:09 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:03: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;
... | 141,242 |
BigIntAux | /*
* This file contains a copy of the method binaryGcd in the class java.math.MutableBigInteger.
* The reason is, that binaryGcD is not public and we needed to call it from outside the java.math package.
* There is no aim to violate any copyright.
*
*
* BigIntAux.java
*
* Created on 5. January 2003, 11:26
*/
... | .version 52 0
.class public super BigIntAux
.super java/lang/Object
.method public static final determinant : (Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;Ljava/math/BigInteger;)Ljava/math/BigInteger;
.code stack 2 locals 6
L0: aload_0
L1: aload_3
L2: invokevirtual Method j... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:33:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigInteger;
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
* Fri Jul 01 05:33: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;
... | 141,243 |
Booleans | /*
* Licensed to Elasticsearch under one or more contributor
* license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright
* ownership. Elasticsearch licenses this file to you under
* the Apache License, Version 2.0 (the "License"); you may
* not use this fi... | .version 52 0
.class public super Booleans
.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 25
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:58:21 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 13:58: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;
... | 141,244 |
ParseException | /**
* Created by Avi Hayun on 12/8/2014.
*
* <p>Thrown when there is a problem with the parsing of the content - this is a tagging exception
*/
public class ParseException extends Exception {
/** */
private static final long serialVersionUID = 1L;
}
| .version 52 0
.class public super ParseException
.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:
.linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:17: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 12:17: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;
... | 141,245 |
NewSpecExample24 | /*
* jaspex-mls: a Java Software Speculative Parallelization Framework
* Copyright (C) 2015 Ivo Anjo <ivo.anjo@ist.utl.pt>
*
* This file is part of jaspex-mls.
*
* jaspex-mls 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... | .version 52 0
.class public super NewSpecExample24
.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 24
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:27:05 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 06:27:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,246 |
method07 | import java.util.Scanner;
public class method07 {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
System.out.print("n= ");
int n = scn.nextInt();
float m = 0;
m = add(n);
System.out.print(m);
... | .version 52 0
.class public super method07
.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
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:58:21 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:58: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;
... | 141,247 |
FanfouErrorAdaptor | import java.util.HashMap;
import java.util.Map;
/**
* @author cattong.com
* @version Jul 19, 2011 10:29:05 PM
*/
class FanfouErrorAdaptor {
private static final Map<Integer, String> ERROR_MAP = new HashMap<Integer, String>();
// public static LibRuntimeException parseError(JSONObject json) {
// try {
////... | .version 52 0
.class super FanfouErrorAdaptor
.super java/lang/Object
.field private static final ERROR_MAP Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/String;>;
.end fieldattributes
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:59: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 03:59: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;
... | 141,248 |
CCResult | public class CCResult {
private int kelseyCases;
private int kelseyControls;
private int fleissCases;
private int fleissControls;
private int fleissCCCases;
private int fleissCCControls;
public CCResult(
int kelseyCases,
int kelseyControls,
int fleissCases,
int fleissControls,
... | .version 52 0
.class public super CCResult
.super java/lang/Object
.field private kelseyCases I
.field private kelseyControls I
.field private fleissCases I
.field private fleissControls I
.field private fleissCCCases I
.field private fleissCCControls I
.method public <init> : (IIIIII)V
.code stack 2 loc... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:54: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
* Fri Jul 01 21:54: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;
... | 141,249 |
PrintAsFlag | /*
* Copyright (c) 2012, 2021, 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 ... | .version 52 0
.class public super PrintAsFlag
.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
* Mon Jul 04 04:45:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:45: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;
... | 141,250 |
InvalidRangeParametersException | /**
* This file is part of Graylog.
*
* <p>Graylog 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 3 of the
* License, or (at your option) any later version.
*
* <p>Graylog is distributed i... | .version 52 0
.class public super InvalidRangeParametersException
.super java/lang/Exception
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Exception <init> ()V
L4: return
L5:
.linenumbertable
L0 25
L4 26 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:35: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 01:35: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;
... | 141,251 |
IntegerPartition | public class IntegerPartition {
public long findAllPartitions(int n) {
return findAllPartitions(n, n);
}
public long findAllPartitions(int n, int m) {
if (m <= 0) {
return 0;
} else if (n < 0) {
return 0;
} else if (n == 0) {
return 1;
} else {
long left = findAllParti... | .version 52 0
.class public super IntegerPartition
.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 c... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:12:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:12:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,252 |
HtmlEscaper | import java.util.Date;
public final class HtmlEscaper {
public String escape(String s) {
if (s == null) return s;
StringBuilder sb = new StringBuilder();
for (char c : s.toCharArray()) {
switch (c) {
case '<':
sb.append("<");
break;
case '>':
sb.app... | .version 52 0
.class public final super HtmlEscaper
.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 ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:51: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
* Sat Jul 02 04:51: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;
... | 141,253 |
t5StringBasico | /**
* @created on : 29-ago-2017, 17:59:53
* @see
* @since
* @version
* @author Raul Vela Salas
*/
public class t5StringBasico {
public static void main(String[] args) {
// Mediante char
char cadena[] = new char[50];
cadena[0] = 'H';
cadena[1] = 'e';
cadena[2] = 'l';
cadena[3] =... | .version 52 0
.class public super t5StringBasico
.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 co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:29: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 14:29: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;
... | 141,254 |
DeviceName | public class DeviceName {
private String deviceID;
private String name;
private String owner;
private String phone;
private String provinceID;
private String cityID;
private String address;
private int version;
public DeviceName() {
super();
}
public DeviceName(
String deviceID,
... | .version 52 0
.class public super DeviceName
.super java/lang/Object
.field private deviceID Ljava/lang/String;
.field private name Ljava/lang/String;
.field private owner Ljava/lang/String;
.field private phone Ljava/lang/String;
.field private provinceID Ljava/lang/String;
.field private cityID Ljava/lang/Str... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:01: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
* Sun Jul 03 21:01: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;
... | 141,255 |
EventAgenda | import java.util.Date;
/** Created by mcabezas on 11/02/16. */
public class EventAgenda {
private String mTitol;
private Date mDataFi; // En realitat és la duració de l'event
private Date mDataInici;
public EventAgenda(String title, Date dataFi, Date dataInici) {
this.mTitol = title;
this.mDataFi = d... | .version 52 0
.class public super EventAgenda
.super java/lang/Object
.field private mTitol Ljava/lang/String;
.field private mDataFi Ljava/util/Date;
.field private mDataInici Ljava/util/Date;
.method public <init> : (Ljava/lang/String;Ljava/util/Date;Ljava/util/Date;)V
.code stack 2 locals 4
L0: aloa... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:05:15 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
* Sun Jul 03 17:05: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;
... | 141,256 |
Hello | /*
* Copyright 2015-present Facebook, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may
* not use this file except in compliance with the License. You may obtain
* a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class public super Hello
.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: ldc 'jni'
L6: invokestatic Method java/lang/System loadLibrary (Ljava/lang/String;)V
L9: return
L10: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:19:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Futur... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:19: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;
... | 141,257 |
JumpFloorIIDemo | /** Created by hiwhitley on 2016/8/6. */
public class JumpFloorIIDemo {
public static int JumpFloorII(int target) {
if (target <= 0) {
return -1;
} else if (target == 1) {
return 1;
} else {
return 2 * JumpFloorII(target - 1);
}
}
public int RectCover(int target) {
if (targe... | .version 52 0
.class public super JumpFloorIIDemo
.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 co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:57: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
* Mon Jul 04 06:57: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;
... | 141,258 |
FileUtils | /*
* Copyright 2016 Freelander
* <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 applicable law or agr... | .version 52 0
.class public super FileUtils
.super java/lang/Object
.field public static final BYTE I = 1
.field public static final KB I = 1024
.field public static final MB I = 1048576
.field public static final GB I = 1073741824
.method private <init> : ()V
.code stack 3 locals 1
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:31:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.File;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.io.MockFile;
import or... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:31: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;
... | 141,259 |
Exemplo1 | /*
* 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 10361
*/
public class Exemplo1 {
public static void main(String[] args) {
int i;
for (i = 0; i < 10; i++) ... | .version 52 0
.class public super Exemplo1
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:46:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:46:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,260 |
NullValueException | public class NullValueException extends Exception {
private static final long serialVersionUID = 1L;
public NullValueException(String str) {
super(str);
}
}
| .version 52 0
.class public super NullValueException
.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/String... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:38:26 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:38: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;
... | 141,261 |
ApplianceStatisticsImpl | public class ApplianceStatisticsImpl {}
| .version 52 0
.class public super ApplianceStatisticsImpl
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:30:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:30: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;
... | 141,262 |
WormLock | public class WormLock {
private boolean shouldPause = false;
public boolean isShouldPause() {
return shouldPause;
}
public void setShouldPause(boolean shouldPause) {
this.shouldPause = shouldPause;
}
}
| .version 52 0
.class public super WormLock
.super java/lang/Object
.field private shouldPause Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field WormLock shouldPause Z
L9: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:17: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 11:17: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;
... | 141,263 |
FileUtils | import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
public class FileUtils {
/**
* 创建临时文件
*
* @param inputStream
* @param name 文件名
* @param ext 扩展名
* @return
* @throws IOException
*/
public static File createTmpFile(InputStream inpu... | .version 52 0
.class public super FileUtils
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:34:53 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.ByteArrayInputStream;
import java.io.DataInpu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:34: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;
... | 141,264 |
Condition | public class Condition {
private String code;
private String date;
private String temp;
private String text;
/**
* @return The code
*/
public String getCode() {
return code;
}
/**
* @return The date
*/
public String getDate() {
return date;
}
/**
* @return The temp
*/... | .version 52 0
.class public super Condition
.super java/lang/Object
.field private code Ljava/lang/String;
.field private date Ljava/lang/String;
.field private temp Ljava/lang/String;
.field private text Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invoke... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:35: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 09:35: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;
... | 141,265 |
NumUtils | /** Created by SER on 16.11.2014. */
public class NumUtils {
public static int getRandomInt(int max) {
return (int) Math.floor(Math.random() * max);
}
}
| .version 52 0
.class public super NumUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:58: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 13:58: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;
... | 141,266 |
TestItem | public class TestItem {
public static long sequence = 0;
public static TestItem create(String name) {
TestItem item = new TestItem();
item.setId(sequence++);
item.setName(name);
return item;
}
private Long id;
private String name;
public Long getId() {
return id;
}
public void s... | .version 52 0
.class public super TestItem
.super java/lang/Object
.field public static sequence J
.field private id Ljava/lang/Long;
.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: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15: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
* Mon Jul 04 15:31: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;
... | 141,267 |
InvalidContextException | // Copyright (c) Keith D Gregory
//
// 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 InvalidContextException
.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>... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:04: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 19:04: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;
... | 141,268 |
LengthofLastWord | public class LengthofLastWord {
public int lengthOfLastWord(String s) {
if (s == null || s.length() == 0) return 0;
char[] str = s.toCharArray();
int right = s.length() - 1;
while (right >= 0 && str[right] == ' ') right--;
if (right < 0) return 0;
int left = right;
while (left >= 0 && str[... | .version 52 0
.class public super LengthofLastWord
.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 c... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:46:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:46: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;
... | 141,269 |
MetadataExportOptionsParameters | import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;
/**
* @author Miguel Guimarães <mguimaraes@keep.pt>
*/
public class MetadataExportOptionsParameters implements Serializable {
private Map<String, String> values = new HashMap<>();
public MetadataExportOptionsParameters() {}
public ... | .version 52 0
.class public super MetadataExportOptionsParameters
.super java/lang/Object
.implements java/io/Serializable
.field private values Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
.end fieldattributes
.method public <init> : ()V
.code stack... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:43:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:43: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;
... | 141,270 |
Lang | import java.io.File;
import java.io.PrintWriter;
import java.io.StringWriter;
import java.io.Writer;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Date;
import java.util.HashSet;
import java... | .version 52 0
.class public super Lang
.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 19
.end linenumbertable
.end code
.end m... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 01:39:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.File;
import java.time.chrono.ChronoLocalDate;
import java.util.ArrayList;
import java.util.Collection... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 01:39: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;
... | 141,271 |
AbsoluteTimeDateFormat | /*
* 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 super AbsoluteTimeDateFormat
.super java/text/DateFormat
.field public static final ABS_TIME_DATE_FORMAT Ljava/lang/String; = 'ABSOLUTE'
.field public static final DATE_AND_TIME_DATE_FORMAT Ljava/lang/String; = 'DATE'
.field public static final ISO8601_DATE_FORMAT Ljava/lang/String; = '... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:46:59 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.StringWriter;
import java.text.FieldPosition;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 03: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;
... | 141,272 |
WindowsIndicFonts | /*
* Copyright (c) 2019, 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 WindowsIndicFonts
.super java/lang/Object
.field static failed Z
.field static dialog Ljava/awt/Font;
.field static windowsFontDir Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:07:52 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:07: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;
... | 141,273 |
Bean | import java.beans.PropertyChangeListener;
public abstract class Bean implements java.io.Serializable {
String sampleProperty;
public abstract void addPropertyChangeListener(PropertyChangeListener listener);
public abstract void removePropertyChangeListener(PropertyChangeListener listener);
public String ge... | .version 52 0
.class public super abstract Bean
.super java/lang/Object
.implements java/io/Serializable
.field sampleProperty 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:
.li... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:20:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:20:34 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... | 141,274 |
Rankfor | import java.util.Scanner;
public class Rankfor {
public static void main(String[] args) {
// TODO Auto-generated method stub
Scanner scn = new Scanner(System.in);
int i = scn.nextInt();
int sum = 1;
for (int j = 1; j <= i; j++) {
sum *= j;
}
System.out.println(sum);
}
}
| .version 52 0
.class public super Rankfor
.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... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:17:15 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
* Sat Jul 02 03:17: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;
... | 141,275 |
BearyChatMessageAttachment | /**
* BearyChat WebHook Style Customization.
*
* @author dz
*/
public class BearyChatMessageAttachment {
public static BearyChatMessageAttachment info(String message) {
BearyChatMessageAttachment result = new BearyChatMessageAttachment();
result.setTitle("info");
result.setText(message);
result.s... | .version 52 0
.class public super BearyChatMessageAttachment
.super java/lang/Object
.field private title Ljava/lang/String;
.field private text Ljava/lang/String;
.field private color Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:16: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
* Sun Jul 03 19:16: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;
... | 141,276 |
StackTrace | /*
* The MIT License
*
* Copyright 2014 Jon Arney, Ensor Robotics.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to ... | .version 52 0
.class public final super StackTrace
.super java/lang/Object
.method protected <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 35
L4 36
.end line... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:32:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:32:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,277 |
Stack | public class Stack {
private int content;
public Stack(int content) {
this.content = content;
}
public int getContent() {
return content;
}
public int pop(int nb) {
if (nb <= 0 || nb > 3 || nb > content) {
throw new IllegalArgumentException(
"must be between 1 and 3 and can no... | .version 52 0
.class public super Stack
.super java/lang/Object
.field private content 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 Stack content I
L9: return
L10... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:33:59 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 03:33: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;
... | 141,278 |
StringManipulation | /*
* Copyright 2003, 2004, 2005, 2006 Research Triangle Institute
*
* 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
*/
... | .version 52 0
.class public super StringManipulation
.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 20
.end linenumbertable
.en... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 19:45:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 19:45: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;
... | 141,279 |
UsingSequenceInputStream | import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.SequenceInputStream;
public class UsingSequenceInputStream {
public static void main(String[] args) throws IOException {
FileInputStream fis1 = new FileInputStream("hello.txt");
FileInputStream fis2 = ... | .version 52 0
.class public super UsingSequenceInputStream
.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 7
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 11:08:10 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
* Mon Jul 04 11:08:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,280 |
FileUtils | import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
public class FileUtils {
/**
* 创建临时文件
*
* @param inputStream
* @param name 文件名
* @param ext 扩展名
* @param tmpDirFile 临时文件夹目录
*/
public static File createTmpFile(
InputStream inpu... | .version 52 0
.class public super FileUtils
.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
.e... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:23:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.ByteArrayInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.InputStream;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:23: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;
... | 141,281 |
ClientProxy | /** Created by Miago on 03/06/2015. */
public class ClientProxy {}
| .version 52 0
.class public super ClientProxy
.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
* Mon Jul 04 13:21:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:21: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;
... | 141,282 |
PackInfo | public class PackInfo {
public int id;
public final String owner;
public final String name;
public boolean isCovered;
public java.util.Date start;
public java.util.Date end;
public boolean isValid;
public int totalStatementCount;
public int coveredStatementCount;
public PackInfo(
int id,
... | .version 52 0
.class public super PackInfo
.super java/lang/Object
.field public id I
.field public final owner Ljava/lang/String;
.field public final name Ljava/lang/String;
.field public isCovered Z
.field public start Ljava/util/Date;
.field public end Ljava/util/Date;
.field public isValid Z
.field public... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:57:30 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
import org.junit.runner.RunW... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:57: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;
... | 141,283 |
PrintMatrix | import java.util.ArrayList;
import java.util.List;
import java.util.Stack;
/**
* @author fdiazaguirre Given a language without instructions to position the cursor on the screen
* or any other output device, please write a generic algorithm which will print a square matrix
* once N (the matrix’ dimension) is... | .version 52 0
.class public super PrintMatrix
.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 code ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:16: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
* Sun Jul 03 18:16: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;
... | 141,284 |
ChainMap | import java.util.HashMap;
import java.util.Map;
/**
* NamedQuery parameter helper to create the querys
*
* @author karesti
*/
public class ChainMap {
private Map<String, Object> parameters = null;
private ChainMap(String name, Object value) {
this.parameters = new HashMap();
this.parameters.put(name,... | .version 52 0
.class public super ChainMap
.super java/lang/Object
.field private parameters Ljava/util/Map; .fieldattributes
.signature Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
.end fieldattributes
.method private <init> : (Ljava/lang/String;Ljava/lang/Object;)V
.code stack 3 locals 3
L0:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 22:20:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Map;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 22:20:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,285 |
Equation | /** Created by eSeemann on 01.10.2017. */
public class Equation {
private double a;
private double b;
private double c;
private int n;
public Equation(double a, double b, double c) {
this.a = a;
this.b = b;
this.c = c;
double d = b * b - 4 * a * c;
if (d > 0) {
n = 2;
} else... | .version 52 0
.class public super Equation
.super java/lang/Object
.field private a D
.field private b D
.field private c D
.field private n I
.method public <init> : (DDD)V
.code stack 6 locals 9
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: dload_1
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:24: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 14:24: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;
... | 141,286 |
SensorInfo | /**
* Esta clase contiene información sobre una lectura de sensores de la placa
*
* <p>Created by kerry on 4/06/13.
*/
public class SensorInfo {
private int sIr0;
private int sIr1;
private int sIr2;
private int sIr3;
private int sIr4;
private int sIr5;
private int sIr6;
private int sIr7;
private ... | .version 52 0
.class public super SensorInfo
.super java/lang/Object
.field private sIr0 I
.field private sIr1 I
.field private sIr2 I
.field private sIr3 I
.field private sIr4 I
.field private sIr5 I
.field private sIr6 I
.field private sIr7 I
.field private sIr8 I
.field private sIrS1 I
.field private sI... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:01:30 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 23:01: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;
... | 141,287 |
KeyValuePair | /******************************************************************************
* Copyright (C) 2009-2019 BIMserver.org
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either vers... | .version 52 0
.class public super KeyValuePair
.super java/lang/Object
.field private fieldName Ljava/lang/String;
.field private value Ljava/lang/Object;
.method public <init> : (Ljava/lang/String;Ljava/lang/Object;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <in... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:49: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
* Fri Jul 01 15:49: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;
... | 141,288 |
Country | public class Country {
public Country(String name, String capital, int nbInhabitants) {
this.name = name;
this.capital = capital;
this.nbInhabitants = nbInhabitants;
}
private final String name;
private final String capital;
private final int nbInhabitants;
public String getName() {
return... | .version 52 0
.class public super Country
.super java/lang/Object
.field private final name Ljava/lang/String;
.field private final capital Ljava/lang/String;
.field private final nbInhabitants I
.method public <init> : (Ljava/lang/String;Ljava/lang/String;I)V
.code stack 2 locals 4
L0: aload_0
L1: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:48: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
* Sat Jul 02 02:48: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;
... | 141,289 |
Score | public class Score {
public int maxScore;
public Score() {
maxScore = 0;
}
}
| .version 52 0
.class public super Score
.super java/lang/Object
.field public maxScore I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field Score maxScore I
L9: return
L1... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 03:15: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
* Fri Jul 01 03:15: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;
... | 141,290 |
Distance | /** */
/**
* @author Dr. Bernd Bohnet, 14.03.2010
* <p>Just the well know Levensthein edit distance
*/
public class Distance {
// ****************************
// Get minimum of three values
// ****************************
private static int Minimum(int a, int b, int c) {
int mi;
mi = a;
i... | .version 52 0
.class public super Distance
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:59:13 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:59: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;
... | 141,291 |
StringListData | /**
* Copyright (c) 2014, the Railo Company Ltd. All rights reserved.
*
* <p>This library is free software; you can redistribute it and/or modify it under the terms of the
* GNU Lesser General Public License as published by the Free Software Foundation; either version
* 2.1 of the License, or (at your option) any ... | .version 52 0
.class public super StringListData
.super java/lang/Object
.field public final list Ljava/lang/String;
.field public final delimiter Ljava/lang/String;
.field public final includeEmptyFieldsx Z
.field public final multiCharacterDelimiter Z
.method public <init> : (Ljava/lang/String;Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:57: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
* Fri Jul 01 11:57: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;
... | 141,292 |
GameError | /**
* 游戏异常
*
* @author haijiang
* @since 2012/6/3
*/
public class GameError extends RuntimeException {
/** serialVersionUID */
private static final long serialVersionUID = -1001L;
/** 类默认构造器 */
public GameError() {
super();
}
/**
* 类参数构造器
*
* @param msg
*/
public GameError(String ms... | .version 52 0
.class public super GameError
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -1001L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linen... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:36: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:36: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;
... | 141,293 |
BinaryToRawStream | /*
* This file is part of Splice Machine.
* Splice Machine is free software: you can redistribute it and/or modify it under the terms of the
* GNU Affero General Public License as published by the Free Software Foundation, either
* version 3, or (at your option) any later version.
* Splice Machine is distributed i... | .version 52 0
.class super BinaryToRawStream
.super java/io/FilterInputStream
.field private length I
.field private parent Ljava/lang/Object;
.method <init> : (Ljava/io/InputStream;Ljava/lang/Object;)V
.code stack 4 locals 8
L0: aload_0
L1: aload_1
L2: invokespecial Method java/io/FilterInput... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:33:25 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.ByteArrayInputStream;
import java.io.DataInpu... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:33:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 141,294 |
WordlistLoader | /**
* 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 WordlistLoader
.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 co... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:35:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:35: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;
... | 141,295 |
FakeFox04 | /*
* 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 super FakeFox04
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 21
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 13:52: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
* Fri Jul 01 13:52: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;
... | 141,296 |
Solution | /**
* Given a string S and a string T, count the number of distinct subsequences of T in S.
*
* <p>A subsequence of a string is a new string which is formed from the original string by deleting
* some (can be none) of the characters without disturbing the relative positions of the remaining
* characters. (ie, "ACE... | .version 52 0
.class public super Solution
.super java/lang/Object
.field result 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 19
.end linenumbertable
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:23:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:23: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;
... | 141,297 |
Ops | /*
*
* * Copyright 2015 Skymind,Inc.
* *
* * Licensed under the Apache License, Version 2.0 (the "License");
* * you may not use this file except in compliance with the License.
* * You may obtain a copy of the License at
* *
* * http://www.apache.org/licenses/LICENSE-2.0
* *
* * U... | .version 52 0
.class public super Ops
.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 25
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:25: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 02:25: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;
... | 141,298 |
NestedOverridesTest | import java.io.Externalizable;
import java.io.IOException;
import java.io.ObjectInput;
import java.io.ObjectOutput;
/**
* Class A implements Externalizable and has its own toString, equals and hashcode methods. Class B
* extends A and has its own toString, equals and hashcode methods. Ensure that when rearranging
*... | .version 52 0
.class public super NestedOverridesTest
.super java/lang/Object
.implements java/io/Externalizable
.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
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:25:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.io.ObjectInput;
import java.io.ObjectOutput;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:25: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;
... | 141,299 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.